filyp / autocorrect

Spelling corrector in python
GNU Lesser General Public License v3.0
447 stars 79 forks source link

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

Open alikaz3mi opened 2 years ago

filyp commented 2 years ago

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

David-Baron commented 8 months ago

@filyp Can be added to readme?