-
Notifications
You must be signed in to change notification settings - Fork 4
Make pyenchant an optional dependency #10
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
Comments
Hi @codingjoe, |
@flashcode yes, that would be cool, but I don't see anything on the horizon. The only thing open source tool, that provides proper spell-checking is languagetools. Aspell or hundspell are all pretty mediocre. I think a local spelling dictionary can never get close to an online crowd sourced one. I would be happy to implement languagetools support, but people would need to set up their own server or provide an API token. Anyways, I don't know if it isn't a good move to make spell checking optional anyways. No matter how it's implemented, since it will never work without a 3rd party dependency. Something like |
@flashcode I did some digging. I would recommend to use pyLanguagetool. This seems to be a pretty good. What do you think? I believe with |
Since pyenchant is no longer maintained, I would recommend to make it an optional dependency via
extras_require
.That would mean you would need to run
pip install msgcheck[pyenchant]
orpip install msgcheck[spelling]
to install pyenchant and spell checking support.What do you think @flashcode ? Currently I can't install this package on travis-ci because of the hard pyenchant dependency.
The text was updated successfully, but these errors were encountered: