Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpDHq-0002h7-Lp for pgsql-bugs@arkaria.postgresql.org; Thu, 22 Oct 2015 10:39:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZpDHp-0000z2-Gs for pgsql-bugs@arkaria.postgresql.org; Thu, 22 Oct 2015 10:39:57 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZpDHn-0000yt-Up for pgsql-bugs@postgresql.org; Thu, 22 Oct 2015 10:39:56 +0000 Received: from newmail.postgrespro.ru ([93.174.131.138] helo=mail.postgrespro.ru) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZpDHk-0003eu-O6 for pgsql-bugs@postgresql.org; Thu, 22 Oct 2015 10:39:54 +0000 Received: from [192.168.27.188] (unknown [192.168.27.1]) by mail.postgrespro.ru (Postfix) with ESMTPSA id 2AB7A21C3F44; Thu, 22 Oct 2015 13:39:51 +0300 (MSK) Subject: Re: BUG #12857: Our company want to create dictionary To: abusoft92@gmail.com, pgsql-bugs@postgresql.org References: <20150312111631.4035.87059@wrigleys.postgresql.org> From: Artur Zakirov Message-ID: <5628BCF7.7010009@postgrespro.ru> Date: Thu, 22 Oct 2015 13:39:51 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20150312111631.4035.87059@wrigleys.postgresql.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs