BUG #3730: Creating a swedish dictionary fails

Поиск
Список
Период
Сортировка
От Penty Wenngren
Тема BUG #3730: Creating a swedish dictionary fails
Дата
Msg-id 200711081203.lA8C3Q9X074434@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #3730: Creating a swedish dictionary fails  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      3730
Logged by:          Penty Wenngren
Email address:      penty.wenngren@dgc.se
PostgreSQL version: 8.3 BETA 2
Operating system:   FreeBSD 7 BETA 2
Description:        Creating a swedish dictionary fails
Details:

I'm trying to create a swedish dictionary for tsearch as specified in the
8.3 manual, but it breaks:

test=# CREATE TEXT SEARCH DICTIONARY swedish_ispell (
test(# TEMPLATE = ispell,
test(# DictFile = swedish,
test(# AffFile = swedish,
test(# StopWords = swedish);
FEL:  syntax error at line 219 of affix file
"/usr/local/share/postgresql/tsearch_data/swedish.affix"

picard# pwd
/usr/local/share/postgresql/tsearch_data

picard# file swedish.*
swedish.affix:        UTF-8 Unicode text
swedish.dict:         UTF-8 Unicode text
swedish.stop:         UTF-8 Unicode text

Line 219 in the affix file looks like this:

        O T     >       -OT,\xc3\x96TTER


Please forgive me if this is a known problem with a known solution. I
haven't been able to find information about this particular issue regarding
swedish dictionaries.

// Penty

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG #3729: Query doesn't return the right answer
Следующее
От: Julius Stroffek
Дата:
Сообщение: Re: BUG #3729: Query doesn't return the right answer