According to Geoff Hutchison:
> On Thu, 2 Mar 2000, Gilles Detillieux wrote:
> > OK, but there's still some fuzzy matching stuff I'd like to attack.  Right
> > now, words matched by fuzzy algorithms don't get added to the pattern for
> > excerpt highlighting.  Don't know why it's broken, but I'd like to fix
> > that before I start on a new feature: configurable accent maps for accents
> > fuzzy matching.  Of course, feature freezes never stopped me before.  :)
> 
> OK, if you want to do the accent maps, great, I won't touch it. One thing
> I wanted to do with the accent-mapping is to allow some limited
> transforming as well. For example, let's say I have the name Schrodinger
> (w/o) accents. I might want to define:
> 
> oe -> o
> ö -> o
> 
> (Sorry, I don't know how to type accents on this keyboard)
> 
> For the case of single characters, you can just use 
> String::replace(c1, c2). Currently, we don't have a method to replace
> multiple characters by one.
> 
> However, this feature of accent-mapping need not be done now.

That's what I was thinking of adding.  The WordCodec stuff should handle
it, but I don't know how soon I can get around to it (hopefully tomorrow).
Do you think we should allow &foo; entities in the accents_map attribute?
If so, I'd need to SGML decode it before passing it to the WordCodec code,
but that's no big deal.

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

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 

Reply via email to