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

Including common words in the "en.json.gz" resources #171

Closed
jocronin opened this issue Jan 30, 2024 · 1 comment
Closed

Including common words in the "en.json.gz" resources #171

jocronin opened this issue Jan 30, 2024 · 1 comment

Comments

@jocronin
Copy link

jocronin commented Jan 30, 2024

Hi there!

Just wondering if there was a reason why we don't see words like "i'm" and "i'll" in the words list but we see "they'll", "she'll" and "he'll". I noticed while using the package that "I'm" was being corrected to "ism".

Code to replicate:

from spellchecker import SpellChecker

spell = SpellChecker()

print(spell.candidates("i'm"))

>>{"h'm", 'ism'}

print(spell.candidates("i'll"))

>>{'ill', "it'll"}

Would it be possible to add these example to the known words list?
Cheers

@jocronin jocronin changed the title Including common words in the "en" resources Including common words in the "en.json.gz" resources Jan 31, 2024
@barrust
Copy link
Owner

barrust commented Mar 9, 2024

This will be resolved in version 0.8.2

@barrust barrust closed this as completed Mar 9, 2024
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

2 participants