Re: BUG #12857: Our company want to create dictionary

Поиск
Список
Период
Сортировка
От Artur Zakirov
Тема Re: BUG #12857: Our company want to create dictionary
Дата
Msg-id 5628BCF7.7010009@postgrespro.ru
обсуждение исходный текст
Ответ на BUG #12857: Our company want to create dictionary  (abusoft92@gmail.com)
Список pgsql-bugs
12.03.2015 14:16, abusoft92@gmail.com пишет:
>
> Dear developers,we use PostgreSQL DB for our projects and we want to create
> library in kazakh language dictionary for full text search
> Sincerely NewServiceArt ,Astana,Kazakhstan
>
Maybe it is too late. But you can download hunspell dictionary from
http://ftp.ru.debian.org/debian/pool/main/h/hunspell-kk/hunspell-kk_1.1-2_all.deb

Extract files kk_KZ.dic and kk_KZ.aff. Rename them accordingly to
kk_KZ.dict and kk_KZ.affix and copy to the folder $SHAREDIR/tsearch_data/.

And create ispell dictionary:

CREATE TEXT SEARCH DICTIONARY kazakh_ispell (
     TEMPLATE = ispell,
     DictFile = kk_KZ,
     AffFile = kk_KZ
);

More information about ispell dictionaries:
http://www.postgresql.org/docs/devel/static/textsearch-dictionaries.html#TEXTSEARCH-ISPELL-DICTIONARY

--
Artur Zakirov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Artur Zakirov
Дата:
Сообщение: Re: BUG #13690: Full Text Search with spanish dictionary cannot find some words
Следующее
От: digoal@126.com
Дата:
Сообщение: BUG #13699: float type bug