ispell dictionary broken in CVS HEAD ?

Поиск
Список
Период
Сортировка
От Oleg Bartunov
Тема ispell dictionary broken in CVS HEAD ?
Дата
Msg-id Pine.LNX.4.64.0709090838400.2767@sn.sai.msu.ru
обсуждение исходный текст
Ответы Re: ispell dictionary broken in CVS HEAD ?  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: tsearch filenames unlikes special symbols and numbers
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: tsearch filenames unlikes special symbols and numbers