BUG #3730: Creating a swedish dictionary fails

From: "Penty Wenngren" <penty(dot)wenngren(at)dgc(dot)se>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #3730: Creating a swedish dictionary fails
Date: 2007-11-08 12:03:26
Message-ID: 200711081203.lA8C3Q9X074434@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 3730
Logged by: Penty Wenngren
Email address: penty(dot)wenngren(at)dgc(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Julius Stroffek 2007-11-08 12:16:17 Re: BUG #3729: Query doesn't return the right answer
Previous Message Heikki Linnakangas 2007-11-08 12:00:49 Re: BUG #3729: Query doesn't return the right answer