Re: TSearch2 from HEAD UTF8 German Compunds.

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: "Thies C(dot) Arntzen" <thies(at)thieso(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: TSearch2 from HEAD UTF8 German Compunds.
Date: 2006-02-22 09:32:37
Message-ID: 43FC2FB5.2040501@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

You should use libstemmer_c/src_c/stem_UTF_8_german.[ch] and
tsearch2/gendict/config.sh script to generate stemmer for UTF8 as usial:

Thies C. Arntzen wrote:
> hey theodor,
>
> the dicts are ony one half of the solution, aren't they?
> i also want to use the UTF8 stemmers from the snowball project so i have
> to take them from their "libstemmers", right? i haven't found
> instructions on how to use gendict libstemmers (btw: i am using tsearch2
> from CVS HEAD). or are you suggesting to use the 8859 stemmers with a
> utf8 tsearch install?
>
> regards, thies
>
> Am 22.02.2006 um 08:26 schrieb Teodor Sigaev:
>
>> Contact with Alexander Presber <aljoscha at weisshuhn.de> about
>> dictionaries, he now work on it. UTF8 will work only in CVS HEAD (8.2
>> release in the future)
>>
>> Thies C. Arntzen wrote:
>>> hi,
>>> i'm using tsearch2 from HEAD with 8.1.3 (with some 8.1.x compile
>>> fixes) and want to use the UTF8 snowball stemmers. so far (haven't
>>> really hacked on it yet) with little success. i've seen some messages
>>> on the list lately but i failed to find a step-by-step guid how to
>>> use the utf8 stemmers (libstemmer) with tsearch2 and german
>>> dictionaries. if someone has already done this with success i would
>>> be more than hyppy to get directions - if not i'll do it the "hard
>>> way" and post my results once i succeed;-)
>>> best regards,
>>> thies
>>> ---------------------------(end of broadcast)---------------------------
>>> TIP 4: Have you searched our list archives?
>>> http://archives.postgresql.org
>>
>> --Teodor Sigaev E-mail:
>> teodor(at)sigaev(dot)ru
>> WWW:
>> http://www.sigaev.ru/
>>
>>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend

--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Prestation3.EXPLOITATION 2006-02-22 10:27:34 Réf. : Re: Out of memory using ora2pg
Previous Message Richard Huxton 2006-02-22 09:24:19 Re: Out of memory using ora2pg