%tsearch2-affix parse error dictionary spanish

Started by Felipe de Jesús Molina Bravoover 18 years ago1 messagesgeneral
Jump to latest
#1Felipe de Jesús Molina Bravo
felipe.molina@inegi.gob.mx

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