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

From: Artur Zakirov <a(dot)zakirov(at)postgrespro(dot)ru>
To: abusoft92(at)gmail(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #12857: Our company want to create dictionary
Date: 2015-10-22 10:39:51
Message-ID: 5628BCF7.7010009@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

12.03.2015 14:16, abusoft92(at)gmail(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message postgresql.org 2015-10-22 10:52:31 BUG #13701: Spelling error in bgwriter_lru_multiplier comment
Previous Message Artur Zakirov 2015-10-22 10:16:54 Re: BUG #13690: Full Text Search with spanish dictionary cannot find some words