Stefan,
At 01:41 1998-08-28 -0700, Stefan Witzel wrote:
>Hello,
>
>I've just compiled swish-e 1.1 and run some tests. I get some strange
>results when there
>is a ß (sharp s) im my document. I look in swish.h and found that
>ß is converted to nothing "" (as far as I understand the code). It
>would be better to convert it to "s", I think. (Is it possible to convert
>to a two-character string like "ss" ?).
>
>Another entry: Ì is converted to "E".
You're quite right, of course. Quite a few real text characters in the
high-ASCII area are now translated to "nothing at all'. It just may work in
many cases provided the search terms the user types undergo the same
conversion
Ì tranlation to E is simply an error which I've reported in this
list a while ago. there are other errors, too. Look up the online archive
of this list and look for [SWISH-E:358] Errors in entities[] array in swish.h
The tranlation table that is currently used can be found in swish.h .
Without looking at the original code I'm unsiure whether it's possible to
use double-character substitutions but it's worth try. Adapt the table,
recompile and see what happens :-) If double-character subsitutions work
with th ecurrent code, you can also handle Umlaute better.
I'm working on my own variant and one of the things I'm working on is
better handling of these substitutions.
Hope this helps.
Cheers,
>
>Thanks.
>
>
>Stefan Witzel -----------------------------------
>Universitaet Goettingen stefan.witzel@zvw.uni-goettingen.de
>Stabsstelle DV -----------------------------------
>Gosslerstrasse 5-7 fon: +49 551 394160
>37073 Goettingen fax: +49 551 399612
>Germany -----------------------------------
>
Marjolein Katsma webmaster@javawoman.com
Java Woman - http://javawoman.com/
Received on Fri Aug 28 04:41:10 1998