Where can the documentation for python-Levenshtein be found online?

Phil B picture Phil B · Aug 8, 2013 · Viewed 20.1k times · Source

I've found a great python library implementing Levenshtein functions (distance, ratio, etc.) at http://code.google.com/p/pylevenshtein/ but the project seems inactive and the documentation is nowhere to be found. I was wondering if anyone knows better than me and can point me to the documentation.

Answer

Renaud picture Renaud · Jun 6, 2014

Here is an example:

# install with: pip install python-Levenshtein

from Levenshtein import distance
edit_dist = distance("ah", "aho")