ispell dictionary broken in CVS HEAD ? - Mailing list pgsql-hackers

From Oleg Bartunov
Subject ispell dictionary broken in CVS HEAD ?
Date
Msg-id Pine.LNX.4.64.0709090838400.2767@sn.sai.msu.ru
Whole thread Raw
Responses Re: ispell dictionary broken in CVS HEAD ?
List pgsql-hackers
Hi there,

seems something is broken in ispell dictionary (CVS HEAD).

event=# CREATE TEXT SEARCH DICTIONARY en_ispell (        TEMPLATE = ispell,        DictFile = english,        AffFile =
english,        StopWords = english
 
);
CREATE TEXT SEARCH DICTIONARY
event=# select ts_lexize('en_ispell','stars'); ts_lexize
-----------


But ispell does know 'stars'

zen:~/app/pgsql/pgweb>ispell
@(#) International Ispell Version 3.2.06 08/01/01
word: stars
ok (derives from root STAR)


Checked in tsearch2 (8.2.4):

apod=# insert into pg_ts_dict
(SELECT 'en_ispell', dict_init,
'DictFile="/usr/local/share/dicts/ispell/utf8/english-utf8.dict",'
'AffFile="/usr/local/share/dicts/ispell/utf8/english-utf8.aff",'
'StopFile="/usr/local/share/dicts/ispell/utf8/english-utf8.stop"',dict_lexize FROM pg_ts_dict WHERE dict_name =
'ispell_template');
 

apod=# select lexize('en_ispell','stars'); lexize 
-------- {star}

    Regards,        Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83


pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: tsearch filenames unlikes special symbols and numbers
Next
From: Oleg Bartunov
Date:
Subject: Re: tsearch filenames unlikes special symbols and numbers