From: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> |
---|---|
To: | Tommy Gildseth <tommy(dot)gildseth(at)usit(dot)uio(dot)no> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Text search with ispell |
Date: | 2009-01-27 11:48:58 |
Message-ID: | Pine.LNX.4.64.0901271447410.9554@sn.sai.msu.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Have you read http://www.postgresql.org/docs/current/static/textsearch-dictionaries.html#TEXTSEARCH-ISPELL-DICTIONARY
We suggest to use dictionaries which come with openoffice, hunspell, probably
has better support of composite words.
On Tue, 27 Jan 2009, Tommy Gildseth wrote:
> Oleg Bartunov wrote:
>> On Tue, 27 Jan 2009, Tommy Gildseth wrote:
>>
>>> I'm trying to figure out how to use PostgreSQL's fulltext search with an
>>> ispell dictionary. I'm having a bit of trouble figuring out where this
>>> norwegian.dict comes from though.
>>> When I install the norwegian ispell dictionary, i get 4 files, nb.aff,
>>> nb.hash, nn.aff and nn.hash. What I'm unable to figure out, is the steps
>>> needed to use this for PostgreSQL?
>>
>> you need to make a choice between two kinds of norwegian language - nn, nb,
>> see http://en.wikipedia.org/wiki/Norwegian_language
>> Then follow standard procedure described in documentation.
>> Where did you get them ?
>
>
> Yes, I'm aware of that I need to choose one of those. I guess what I'm having
> problems with, is figuring out where the <language>.dict file comes from.
> I didn't find any such file in the rpm downloaded from the links at
> http://ficus-www.cs.ucla.edu/geoff/ispell.html#ftp-sites and also not in the
> inorwegian-package in the ubuntu apt repository.
> I have read through
> http://www.postgresql.org/docs/current/static/textsearch.html, but it's not
> quite clear to me, from that, what I need to do, to use an ispell dictionary
> with tsearch.
>
>
>
Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru)
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83
From | Date | Subject | |
---|---|---|---|
Next Message | Ian Sollars | 2009-01-27 11:56:29 | Re: dblink syntax question for remotely invoking void-returning procedures |
Previous Message | Tommy Gildseth | 2009-01-27 11:33:33 | Re: Text search with ispell |