pylev icon indicating copy to clipboard operation
pylev copied to clipboard

A pure Python Levenshtein implementation that's not freaking GPL'd.

Results 4 pylev issues
Sort by recently updated
recently updated
newest added

I know that you are using as test suite unittest istead pytest however corroctly written unittest based test suite should be working with pytest as well. On use pytest there...

You must always close a file after opening it. The current code might not work on Windows + PyPy, since it's assuming the garbage collector will run (which it won't...

There are two different distances called Damerau-Levenshtein (see the [Wikipedia page](https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance), for example), one is the restricted distance and the other is the original one, the unrestricted distance. The `damerau_levenshtein`...

prev_cost variable is never used https://github.com/toastdriven/pylev/blob/700700ec1b3f637ef1a59bb46f1b2176def2886d/pylev/damerau.py#L44