You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code returns a false positive for the word "familly", though it should return "family". I guess that familly has been denoted a existing word somehow by mistake, there might be other words also.
Here is the code to see the result
from spellchecker import SpellChecker
spell = SpellChecker()
word = "familly"
print(spell.correction(word))
>>> familly
The text was updated successfully, but these errors were encountered:
Yes, you are correct. The data source (opensubtitles) for the word frequency list contains many mistakes and I am trying to find a good solution to correct these issues.
The code returns a false positive for the word "familly", though it should return "family". I guess that familly has been denoted a existing word somehow by mistake, there might be other words also.
Here is the code to see the result
The text was updated successfully, but these errors were encountered: