-
Notifications
You must be signed in to change notification settings - Fork 19
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
automatic check for spelling consistency? #319
Comments
Recently I tried to implement this and found it a bit tricky - sphinx-contrib/spelling isn't very well supported. Worse its lexers don't recognize apostrophe contractions so you have to exclude "don", "aren" &c &c. One possibility is to just use it anyway and use sed or similar to extract all the problem words and add them to one or more sphixcotrib-spellings custom dictionaries (which we can configure). This will at least catch new errors. |
Yikes, that is indeed "worse". |
RE: Just using sphinxcontrib-spelling
Another option is to write an entirely separate check using Ispell, Aspell, Enchant or similar. I couldn't do it in the 15 minutes I spent trying, which hardly rules it out. I aslo tried Enchant which didn't seem to have the same tokenizer issue as Pyenchant! |
Closed by #501 |
For terms such as:
datetime
vsdate-time
vsdate time
Sphinx extension, or post commit hook, or simple check script in CI ?
The text was updated successfully, but these errors were encountered: