filyp / autocorrect

Spelling corrector in python
GNU Lesser General Public License v3.0
459 stars 97 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 3 years ago

filyp commented 3 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 11 months ago

@filyp Can be added to readme?