Skip to content

Add get_close_matches to StringMatcher module #52

@richiebful

Description

@richiebful

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions