[Tutor] comparing almost equal strings

Christopher Arndt chris.arndt at web.de
Thu Feb 8 13:07:41 CET 2007


thomas coopman schrieb:
> I need a function that groups almost equal strings.  It seems most easy
> to me, to do this with a hash function.

What do you mean be "almost equal"? By which criterium? Spelling,
Pronounciation? Semantics?

> I think I once read something about it, but I can't find it, 
> does somebody know how to do this?

Maybe you mean the "soundex" algorithm? See, for example, here:

http://diveintopython.org/performance_tuning/index.html

Chris


More information about the Tutor mailing list