Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple suggestions and estimations of confidence #11

Open
rafis opened this issue Feb 1, 2018 · 0 comments
Open

Multiple suggestions and estimations of confidence #11

rafis opened this issue Feb 1, 2018 · 0 comments

Comments

@rafis
Copy link

rafis commented Feb 1, 2018

The spell() function returns only single value that is the corrected word. Can you please add another function which returns two values (word, confidence) where confidence is percentage score from 0.0 to 1.0 showing how system confident what the provided word was misspelled. Also maybe it is good to provide multiple suggestions and confidence level for each of them, for example,

> spell_scores('pinrt')
[('print', 0.9), ('pint', 0.7)]

Currently autocorrect understands this typo in "pinrt" incorrectly.

@rafis rafis changed the title Provide estimation of confidence Multiple suggestions and estimations of confidence Feb 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant