Optimizing Text Similarity Algorithm

Neil Cerutti neilc at norwich.edu
Mon Aug 22 09:05:03 EDT 2011


On 2011-08-22, Peter Otten <__peter__ at web.de> wrote:
> Ya??ar Arabac?? wrote:
>> I originally posted this question on stackoverflow, you can find it here:
>> http://stackoverflow.com/q/7133350/886669
>> 
>> I just want people check what I am doing and express their opinion about
>> the thing I am doing is acceptable, or are there some expects of it that
>> could change.

Perhaps check out difflib.SequenceMatcher.ratio to see if the
library function is good enough.

-- 
Neil Cerutti



More information about the Python-list mailing list