On Sat, Feb 19, 2005 at 01:08:47PM -0800, dasoso@alumni.uv.es wrote:
> swish-e-2.4.3> LANG=es_ES swish-e -c swish-e.conf -T indexed_words
>
>
> Adding automatic MetaName 'descripcion' found in file test.xml
>
> Adding:[2:idioma(10)] 'empe' Pos:6 Stuct:0x1 ( FILE )
> Adding:[2:descripcion(12)] 'empe' Pos:6 Stuct:0x1 ( FILE )
> Adding:[2:idioma(10)] 'empe' Pos:7 Stuct:0x1 ( FILE )
> Adding:[2:descripcion(12)] 'empe' Pos:7 Stuct:0x1 ( FILE
Run locale -a to see if you have es_ES as a possible locale:
$ locale -a
C
de_DE
de_DE.iso88591
deutsch
en_GB
en_GB.iso88591
en_US
en_US.iso88591
es_ES
es_ES.iso88591
es_ES.utf8
german
POSIX
spanish
If you are running a debian-based system run this to add locales:
dpkg-reconfigure locale
Also for testing just have in your config file
DefaultContents XML2
moseley@bumby:~$ cat c
DefaultContents XML*
moseley@bumby:~$ LANG=es_ES swish-e -c c -i t.xml -T indexed_words -v0
Adding:[1:swishdefault(1)] 'árbol' Pos:3 Stuct:0x1 ( FILE )
Adding:[1:swishdefault(1)] 'árbol' Pos:4 Stuct:0x1 ( FILE )
Adding:[1:swishdefault(1)] 'empeño' Pos:5 Stuct:0x1 ( FILE )
Adding:[1:swishdefault(1)] 'empeño' Pos:6 Stuct:0x1 ( FILE )
moseley@bumby:~$ LANG=es_ES.utf8 swish-e -c c -i t.xml -T indexed_words -v0
Adding:[1:swishdefault(1)] 'árbol' Pos:3 Stuct:0x1 ( FILE )
Adding:[1:swishdefault(1)] 'Árbol' Pos:4 Stuct:0x1 ( FILE )
Adding:[1:swishdefault(1)] 'empeño' Pos:5 Stuct:0x1 ( FILE )
Adding:[1:swishdefault(1)] 'empeÑo' Pos:6 Stuct:0x1 ( FILE )
--
Bill Moseley
moseley@hank.org
Unsubscribe from or help with the swish-e list:
http://swish-e.org/Discussion/
Help with Swish-e:
http://swish-e.org/current/docs
swish-e@sunsite.berkeley.edu
Received on Sat Feb 19 13:55:16 2005