From: | Oleg Bartunov <obartunov(at)gmail(dot)com> |
---|---|
To: | Wolfgang Winkler <wolfgang(dot)winkler(at)digital-concepts(dot)com>, Artur Zakirov <a(dot)zakirov(at)postgrespro(dot)ru> |
Cc: | Postgres General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Using a german affix file for compound words |
Date: | 2016-01-28 15:57:15 |
Message-ID: | CAF4Au4xjRacajW6YuPrg07JGq63SFVS1ajrQraxqY+0M=v9p3A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Jan 28, 2016 at 6:04 PM, Wolfgang Winkler <
wolfgang(dot)winkler(at)digital-concepts(dot)com> wrote:
> Hi!
>
> We have a problem with importing a compound dictionary file for german.
>
> I downloaded the files here:
>
>
> http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/dicts/ispell/ispell-german-compound.tar.gz
>
> and converted them to utf-8 with iconv. The affix file seems ok when
> opened with an editor.
>
> When I try to create or alter a dictionary to use this affix file, I get
> the following error:
>
> alter TEXT SEARCH DICTIONARY german_ispell (
> DictFile = german,
> AffFile = german,
> StopWords = german
> );
> ERROR: syntax error
> CONTEXT: line 224 of configuration file
> "/usr/local/pgsql/share/tsearch_data/german.affix": " ABE > -ABE,äBIN
> "
>
> This is the first occurrence of an umlaut character in the file. I've
> found a view postings where the same file is used, e.g.:
>
>
> http://www.postgresql.org/message-id/flat/556C1411(dot)4010608(at)tbz-pariv(dot)de#556C1411(dot)4010608@tbz-pariv.de
>
> This users has been able to import the file. Am I missing something
> obvious?
>
Arthur Zakirov could help you.
>
> ww
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
From | Date | Subject | |
---|---|---|---|
Next Message | Artur Zakirov | 2016-01-28 16:34:46 | Re: Using a german affix file for compound words |
Previous Message | Wolfgang Winkler | 2016-01-28 15:04:57 | Using a german affix file for compound words |