BUG #3730: Creating a swedish dictionary fails - Mailing list pgsql-bugs

From Penty Wenngren
Subject BUG #3730: Creating a swedish dictionary fails
Date
Msg-id 200711081203.lA8C3Q9X074434@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #3730: Creating a swedish dictionary fails
List 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 by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: BUG #3729: Query doesn't return the right answer
Next
From: Julius Stroffek
Date:
Subject: Re: BUG #3729: Query doesn't return the right answer