Re: Re: Accents, endings and chaining

"Joe R. Jah" <[email protected]>
Newsgroups gmane.comp.web.htdig.devel
Message-ID <[email protected]>
On Tue, 8 Jun 2004, Gilles Detillieux wrote:

> Date: Tue, 8 Jun 2004 15:11:32 -0500 (CDT)
> From: Gilles Detillieux <[email protected]>
> To: [email protected]
> Cc: Dominique Arpin <[email protected]>,
     [email protected]
> Subject: Re: [htdig-dev] Re: Accents, endings and chaining
> 
> 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.

Thank you Gilles; it just made it to the patch archive:

 ftp://ftp.ccsf.org/htdig-patches/3.1.5/latin1_patch.0

Better late than never;)

Regards,

Joe
-- 
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        [email protected]



-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.