difflib.get_close_matches looks useful. But, I don't see where it defines 'close'. Besides that, wouldn't it be much more useful if one could supply their own distance metric?
-- http://mail.python.org/mailman/listinfo/python-list
difflib.get_close_matches looks useful. But, I don't see where it defines 'close'. Besides that, wouldn't it be much more useful if one could supply their own distance metric?
-- http://mail.python.org/mailman/listinfo/python-list