According to Lachlan Andrew:
> Greetings Dominiqu,
> 
> I have tried to reproduce your problem (as I understood it), but 
> can't.  Several possibilities come to mind:
>   1. You are (as Gilles suggested) relying on the fuzzy rule "accents"
>      rather than explicitly entering the accent into the query.  In
>      this case, you are out of luck.
>   2. Your  endings_dictionary  file doesn't contain the words with
>      actual accents.
>   3. Your  endings_dictionary  has the accents, but encoded as
>      multi-byte unicode sequences.  Currently, ht://Dig doesn't
>      support unicode.
> In either case 2 or case 3, the solution is to replace the entries in 
> your  endings_dictionary  file with the single-byte latin1 (not 
> unicode) accents.
> 
> Do any of these cases apply?

Your 3rd possibility brings to mind a 4th one I heard about a few years
ago.  Some ispell affix files make use of "altstringchar" to define a
sequence of ASCII characters that can be used in the dictionary file to
represent an accented character.  If Dominique's francais.0 dictionary
uses these, that could be the problem.

There was a patch posted to the mailing list back in June of 2000, which
added a hack to the endings algorithm to support these, for latin1 only.
The patch was for 3.1.5, so I don't know how well it'll work for 3.1.6 or
the 3.2 betas.  For some reason, it never made it into the patch archive,
but it's available here:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg05248.html

The only way to know for sure which of the 4 possibilities is the correct
one would be to look at the dictionary and affix file Dominique used to
generate the endings database.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
ht://Dig Developer mailing list:
[EMAIL PROTECTED]
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to