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

feat: Spell checker should expand search if no words are found #18

Closed
elijah-potter opened this issue Jan 30, 2024 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@elijah-potter
Copy link
Owner

elijah-potter commented Jan 30, 2024

When the spell checker encounters especially long, incorrectly spelled words, it fails to provide any suggestions.

For example: algorithmically gives no suggestions. Algorithmically is now in the dictionary, but when it wasn't it was marked as incorrectly spelled.

This can be fixed by gradually expanding beyond the max_edit_dist until a word is found.

@elijah-potter elijah-potter self-assigned this Jan 30, 2024
@elijah-potter elijah-potter added the bug Something isn't working label Jan 30, 2024
@elijah-potter
Copy link
Owner Author

I've decided this is not a bug. If the quality of the suggestions would be reduced by this, I don't think we should do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant