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

"recieve" is not recognized as misspelled word #112

Closed
akarmazyan opened this issue Dec 20, 2021 · 2 comments
Closed

"recieve" is not recognized as misspelled word #112

akarmazyan opened this issue Dec 20, 2021 · 2 comments

Comments

@akarmazyan
Copy link

Hi,

does anyone know why "recieve" is not detected as misspelled word ?

spell = SpellChecker();
word_list=['recieve', 'mydummy']
misspelled=spell.unknown(word_list)
print (misspelled)
{'mydummy'}

thanks ,

@barrust
Copy link
Owner

barrust commented Dec 26, 2021

We can actually see that it is in the dictionary (erroneously) using the following code:

from spellchecker import SpellChecker
spell = SpellChecker()
print('recieve' in spell)  #True
print(spell['recieve']) #254

So, based on this we can see that the data source used to build the dictionaries included this version of recieve 254 times. I will add this misspelling to the en_exclude.txt file to ensure that it is not present in future versions of the dictionary.

If there are others (and there will be), you can add them to an issue until I find a better way to track words to add and remove. You can also remove it from your local dictionary using the remove functionality.

@barrust
Copy link
Owner

barrust commented Dec 26, 2021

This exact issue will be resolved in the next release

@barrust barrust closed this as completed Dec 26, 2021
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