From: Artur Zakirov <a.zakirov@postgrespro.ru>
To: abusoft92@gmail.com
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #12857: Our company want to create dictionary
Date: Thu, 22 Oct 2015 13:39:51 +0300
Message-ID: <5628BCF7.7010009@postgrespro.ru> (raw)
In-Reply-To: <20150312111631.4035.87059@wrigleys.postgresql.org>
References: <20150312111631.4035.87059@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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-DICTIONAR...
--
Artur Zakirov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: a.zakirov@postgrespro.ru, abusoft92@gmail.com
Subject: Re: BUG #12857: Our company want to create dictionary
In-Reply-To: <5628BCF7.7010009@postgrespro.ru>
References: <20150312111631.4035.87059@wrigleys.postgresql.org> <5628BCF7.7010009@postgrespro.ru>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox