Odległość Python Levenshtein

pip install python-Levenshtein

>>> from Levenshtein import distance as lev
>>> lev('party', 'park')
2
Attractive Albatross