Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group