Skip to main content.
home | support | download

Back to List Archive

Re: spanish searching, enyas etc...

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Wed Feb 25 2004 - 19:19:08 GMT
On Wed, Feb 25, 2004 at 10:56:16AM -0800, Brad Miele wrote:
> It would seem that the problem has beeen solved, but it is not. now i need
> to get espana (without the spanish n to return the same set of results,
> but alas, I have not been able to. I tried TranslateCharacters option,
> that ended up removing all the results.

TranslateCharacters should work.

moseley@bumby:~$ cat c
TranslateCharacters ņ n

moseley@bumby:~$ cat 1.txt 2.txt
El Niņo

El Nino

moseley@bumby:~$ swish-e -i 1.txt 2.txt -T indexed_words -v0 -c c
    Adding:[1:swishdefault(1)]   'el'   Pos:2  Stuct:0x9 ( BODY FILE )
    Adding:[1:swishdefault(1)]   'nino'   Pos:3  Stuct:0x9 ( BODY FILE )
    Adding:[2:swishdefault(1)]   'el'   Pos:2  Stuct:0x9 ( BODY FILE )
    Adding:[2:swishdefault(1)]   'nino'   Pos:3  Stuct:0x9 ( BODY FILE )

moseley@bumby:~$ swish-e -w 'nino' -H0
1000 2.txt "2.txt" 8
1000 1.txt "1.txt" 9

moseley@bumby:~$ swish-e -w 'niņo' -H0
1000 2.txt "2.txt" 8
1000 1.txt "1.txt" 9


-- 
Bill Moseley
moseley@hank.org
Received on Wed Feb 25 11:19:09 2004