string similarity in python

Rene Pijlman reply.in.the.newsgroup at my.address.is.invalid
Mon Nov 24 05:52:58 EST 2003


Achim Domma:
>I have a list of strings and want to know which one is
>most similar to a reference string. 

Define 's1 is most similar to s2' for all strings s1 and s2.

You can skip the definition of 'most', when your definition of 'similar'
defines a total order :-)
http://en2.wikipedia.org/wiki/Total_order

-- 
René Pijlman




More information about the Python-list mailing list