%tsearch2-affix parse error dictionary spanish

From: Felipe de Jesús Molina Bravo <felipe(dot)molina(at)inegi(dot)gob(dot)mx>
To: pgsql-general(at)postgresql(dot)org
Subject: %tsearch2-affix parse error dictionary spanish
Date: 2007-09-14 21:27:20
Message-ID: 1189805240.6617.49.camel@fjmb
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi

I had installed postgresql-8.2.4. After some problems with tsearch2
installation i had the next problem:

prueba=# select to_tsvector('espanol','melón');
ERROR: Affix parse error at 506 line

If execute:

prueba=# select lexize('sp','melón');
lexize
---------
{melon}
(1 row)


where i can investigate for resolve about the problem?

I tried many dictionaries with the same results. My dictionary, in the
line 506 had:

flag *J: # isimo
E > -E, ÍSIMO # grande grandísimo
E > -E, ÍSIMOS # grande grandísimos
E > -E, ÍSIMA # grande grandísima
E > -E, ÍSIMAS # grande grandísimas
O > -O, ÍSIMO # tonto tontísimo
O > -O, ÍSIMA # tonto tontísima
O > -O, ÍSIMOS # tonto tontísimos
O > -O, ÍSIMAS # tonto tontísimas
L > ÍSIMO # formal formalísimo
L > ÍSIMA # formal formalísima
L > ÍSIMOS # formal formalísimos
L > ÍSIMAS # formal formalísimas

If removed Í then I don't have problem, but the lexema is incorrect

I saw the post
http://archives.postgresql.org/pgsql-general/2007-07/msg00888.php

Maybe Marcelo had resolve the problem

best regards

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-09-15 02:51:48 Re: NOT NULL Issue
Previous Message Chris Browne 2007-09-14 20:43:34 Re: Pgsql roles, SQL injection, and utility statements