Re: ispell file format - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: ispell file format
Date
Msg-id 46CD86E6.9070809@sigaev.ru
Whole thread Raw
In response to Re: ispell file format  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
List pgsql-hackers
> Here's a snippet of the affix file around that line:
> 
>> prefixes
>>
>> flag *A:
>>     .           >       ALI     # alivaltiosihteeri, alihankkija # line 83
>>     I           >       ALI\-
Just remove the rules with \-, tsearch allows only alpha character here.

> 
> ispell works just fine with it.
> 
> I found a man page describing the ispell file format with Google:
> http://www.delorie.com/gnu/docs/ispell/ispell.4.html. Is this the same
> file format tsearch accepts? It looks like the grammar we accept is only
> a small subset of the ispell grammar, there's things statements like
> "boundarychars", "stringchar" that we apparently don't support.

Yes,  that options are useless for dictionary:
- string char is already checked by postgres itself (by recode or verify functions)
- parser already splits words and default parser treat '-' as word separator


Hmm, I found another problem here. After removing that rules every works fine 
with fi_FI.ISO8859-1 locale but with fi_FI.UTF-8, I'll dig tomorrow into it.


-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Owner's grant options not visible
Next
From: Tom Lane
Date:
Subject: Re: Owner's grant options not visible