According to Dominique Arpin:
> I will install htdig 3.2 beta6 and I will try this patch.
Your french.aff file only defines altstringchar entries for tex, not
for latin1, so you shouldn't need the patch I mentioned. As far as
I can tell, the patch won't make any difference for your affix file.
> here my config:
>
> endings_affix_file: ${lang_dir}/french.aff
> endings_dictionary: ${lang_dir}/french.0
> endings_root2word_db: ${common_dir}/root2wordfr.db
> endings_word2root_db: ${common_dir}/word2rootfr.db
>
> You can see a copy of the files on:
>
> http://darwin.espacecourbe.com/~dominique/
The problem is in the french.0 file. You'll need to add an entry:
acouph�ne/X
in the appropriate spot, and then run "htfuzzy endings". Do the same
for any other word that doesn't pluralize properly, if the word doesn't
appear in french.0.
> thanks
>
>
> > According to Lachlan Andrew:
> >> Greetings Dominique,
> >>
> >> 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)
> >
>
>
> --
> Dominique Arpin_______________________[ Espace
> administrateur r�seau Courbe ]
>
> http://www.espacecourbe.com/
> t�l�phone 514.933.9861
> t�l�copieur 514.933.9546
>
--
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