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
Basic contractions such as "Doesn't" or "couldn't" are being reported as typos because the checker is splitting the word on the single quote character.
To Reproduce
Create a document with the word "doesn't" in it
Build the docs with the symspellpy backend
Full traceback
WARNING - mkdocs_spellcheck: (symspellpy) index.md: Misspelled 'doesn', did you mean 'does'?
Yep, I'm aware of this limitation. There's no easy solution though. Each language has its own peculiarities. We could rely on natural language processing libraries to correctly split text. Not sure how easy it would be :) Happy to see more suggestions and/or review PRs that address this!
Description of the bug
Basic contractions such as "Doesn't" or "couldn't" are being reported as typos because the checker is splitting the word on the single quote character.
To Reproduce
Full traceback
WARNING - mkdocs_spellcheck: (symspellpy) index.md: Misspelled 'doesn', did you mean 'does'?
Expected behavior
The contraction should not be flagged as a typo.
Environment information
The text was updated successfully, but these errors were encountered: