%tsearch2-affix parse error dictionary spanish - Mailing list pgsql-general

From Felipe de Jesús Molina Bravo
Subject %tsearch2-affix parse error dictionary spanish
Date
Msg-id 1189805240.6617.49.camel@fjmb
Whole thread Raw
List 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

pgsql-general by date:

Previous
From: Chris Browne
Date:
Subject: Re: Pgsql roles, SQL injection, and utility statements
Next
From: Tom Lane
Date:
Subject: Re: NOT NULL Issue