threedaymonk/text — pull request #13 by pablorusso (2013-11-20 19:57:00+00:00)
Title: Added parameter max_distance to Levenshtein

It allows the algorithm to return faster when only a distance comparision is needed. Very useful to speed up gettext fuzzy comparision, which discards distances greater than a max_value.