autocorrect icon indicating copy to clipboard operation
autocorrect copied to clipboard

Is it possible to get the most close words to the typed instance? Currently, Speller() only return a single word.

Open alikaz3mi opened this issue 4 years ago • 2 comments

alikaz3mi avatar Nov 07 '21 11:11 alikaz3mi

Yeah, you can use Speller's method get_candidates. https://github.com/filyp/autocorrect/blob/fa317475115f0f07f93e8f598395b6fca2d8271f/autocorrect/init.py#L96

filyp avatar Nov 07 '21 14:11 filyp

@filyp Can be added to readme?

David-Baron avatar Dec 11 '23 11:12 David-Baron