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