python-Levenshtein icon indicating copy to clipboard operation
python-Levenshtein copied to clipboard

Add get_close_matches to StringMatcher module

Open richiebful opened this issue 5 years ago • 0 comments

Akin to how difflib has get_close_matches, create a similar method with the following signature:

def get_close_matches(word: str, possibilities: Iterable[Sequence], n=3, cutoff=0.6)

I will take it upon myself to create a PR as I've already written an implementation.

richiebful avatar May 07 '20 18:05 richiebful