On 11/3/2016 6:47 PM, jlada...@itu.edu wrote:
On Thursday, November 3, 2016 at 1:09:48 PM UTC-7, Neil D. Cerutti wrote:
you may also be
able to use some items "off the shelf" from Python's difflib.

I wasn't aware of that module, thanks for the tip!

difflib.SequenceMatcher.ratio() returns a numerical value which represents
> the "similarity" between two strings. I don't see a precise definition of
> "similar", but it may do what the OP needs.



I may end up rolling my own algo, but thanks for the tip, this does seem like useful stuff indeed


--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to