try patch from http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/
which updates snowball api

Oleg
On Tue, 17 Jul 2007, marcelo Cortez wrote:

hi all

i'm using postgresql 8.2.4 and install tsearch2 , but
i need spanish idiom.
following
http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/docs/README.gendict
and downloading
http://snowball.tartarus.org/algorithms/spanish/stemmer.html
stem.c and stem.h

./config.sh -n pt -s -p spanish_ISO_8859_1   -v
-C'Snowball stemmer for spanish'
Dictname: 'pt'
Snowball stemmer: yes
Has init method: yes
Function prefix: spanish_ISO_8859_1
Source files: stem.c
Header files: stem.h
Object files: stem.o dict_snowball.o
Comment: 'Snowball stemmer for spanish'
Directory: ../../dict_pt
Build directory...  ok
Build Makefile...  ok
Build dict_pt.sql.in...  ok
Copy source and header files...  ok
Build sub-include header...  ok
Build Snowball stemmer...  ok
Build README.pt...  ok
All is done

and

cd ../../dict_pt/
make
.
.
.
.
stem.c: In function 'spanish_ISO_8859_1_close_env':
stem.c:1092: error: too many arguments to function
'SN_close_env'
make: *** [stem.o] Error 1

any clue?
best regards

mdc






__________________________________________________
Pregunt?. Respond?. Descubr?.
Todo lo que quer?as saber, y lo que ni imaginabas,
est? en Yahoo! Respuestas (Beta).
?Probalo ya!
http://www.yahoo.com.ar/respuestas


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org/


        Regards,
                Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: [EMAIL PROTECTED], http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org/

Reply via email to