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

Incomplete words #150

Closed
stephenomalley opened this issue Jul 12, 2023 · 0 comments · Fixed by #165
Closed

Incomplete words #150

stephenomalley opened this issue Jul 12, 2023 · 0 comments · Fixed by #165

Comments

@stephenomalley
Copy link

I'm not sure if I'm using the package correctly or not. I'd been using the package up to 0.5.5 and I've went to upgrade to the latest version and my tests failed as a result of it. It seems in 0.5.6 there was a dictionary upgrade which included some words that I was trying to catch.

My sentence was: "I will write a story without a spelling mista and hopefully you will pride me on habing no mistak."

In 0.5.5 the result of
spellchecker.unknown( ['I', 'will', 'write', 'a', 'story', 'without', 'a', 'spelling', 'mista', 'and', 'hopefully', 'you', 'will', 'pride', 'me', 'on', 'habing', 'no', 'mistak']
is {'habing', 'mista', 'mistak'}

in 0.5.6 and above the output is {'habing'}.

What I'm not sure about is if this type of thing is on purpose in order to not categorise partial words as mistakes?

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

Successfully merging a pull request may close this issue.

1 participant