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?

Cheers,
Lachlan

On Sat, 5 Jun 2004 02:43 pm, Lachlan Andrew wrote:
>
> As I understand Dominique's problem, it is not an issue of chaining
> the "accents" fuzzy rule with the "endings" fuzzy rule.  He is
> searching for a word with an accent.  If it matches a word in the
> database with an accent, then it should not need a fuzzy algorithm
> to register a match.  I thought that "accents" causes "acouphène"
> to match "acouphene" (without the accend).
>
> Dominique, could you confirm that both the document and the query
> have an accent?  If that is the case, then we *may* be able to fix
> this problem without needing to chain fuzzy rules.
>
> Cheers,
> Lachlan
>
> On Thu, 3 Jun 2004 02:07 am, Gilles Detillieux wrote:
> > Dominique had written:
> > > > 3- I have a problem with the accent and plurials.
> > > >
> > > > If a search for "herbe" or "herbes", no problems.  But, if
> > > > the works have an accent, like "acouphène", htdig have a
> > > > problem to find the plural.
> > > >
> > > > herbe: 136 results
> > > > herbes: 136 results
> > > >
> > > > acouphène:   6 results
> > > > acouphènes:  25 results
> > > >
> > > >
> > > > search_algorithm:       exact:1 endings:1 prefix:1 accent:1
> > > > synonyms:0,5
> >
> > htsearch does not yet support chaining of fuzzy match algorithms,
> > so the results of the accents algorithms don't have the endings
> > algorithm applied to them (nor vice-versa).

-- 
[EMAIL PROTECTED]
ht://Dig developer DownUnder  (http://www.htdig.org)



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
ht://Dig Developer mailing list:
[EMAIL PROTECTED]
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to