Re: [TextSearch] syntax error while parsing affix file - Mailing list pgsql-general

From Daniel Chiaramello
Subject Re: [TextSearch] syntax error while parsing affix file
Date
Msg-id 49353852.9070505@golog.net
Whole thread Raw
In response to Re: [TextSearch] syntax error while parsing affix file  (Teodor Sigaev <teodor@sigaev.ru>)
Responses Re: [TextSearch] syntax error while parsing affix file
List pgsql-general
Teodor Sigaev a écrit :
>> I am using Postrges 8.3.5, and I am trying to install a bulgarian
>> ISpell dictionary (the OpenOffice one) for Textsearch features.
>
>> flag *A:
>> . > А (this is line 24)
>> . > АТА
>> . > И
>> . > ИТЕ
> OpenOffice or ISpell? Pls, provide:
> - link to download of dictionary
> - Locale and encoding setting of your db
>
The dictionary is the ISpell one I got from
http://wiki.services.openoffice.org/wiki/Dictionaries list.

Here is a direct link for it:
http://heanet.dl.sourceforge.net/sourceforge/bgoffice/ispell-bg-4.1.tar.gz

I converted its encoding from windows-1251 to UTF-8 before running the
CREATE TEXT SEARCH DICTIONARY:

iconv -f windows-1251 -t utf-8 bulgarian.dic >bulgarian_utf8.dict
iconv -f windows-1251 -t utf-8 bulgarian.aff >bulgarian_utf8.affix

The locale of the database is fr_FR, and its encoding is UTF8.

Thanks!
Daniel

pgsql-general by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: [TextSearch] syntax error while parsing affix file
Next
From: Alvaro Herrera
Date:
Subject: Re: Detecting changes to certain fields in 'before update' trigger functions