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

can we skip capitilised word inside sentence ? #1894

Open
chipitsine opened this issue Mar 21, 2021 · 7 comments
Open

can we skip capitilised word inside sentence ? #1894

chipitsine opened this issue Mar 21, 2021 · 7 comments

Comments

@chipitsine
Copy link

example

Copyright 2017 HAProxy Technologies, Dragan Dosen <[email protected]>

"Dosen" is capitalised and placed inside sentence (not a beginning). it is an indication that it is proper noun.
can we skip such words from spell check ?

@peternewman
Copy link
Collaborator

We could, but then we'd miss Title Case Speling Errors as well. Using the ignore line option is probably the best bet, unless you want to add an argument to make it optionally skip them?

@chipitsine
Copy link
Author

I am OK to keep current behaviour unchanged, and introduce new switch

@peternewman
Copy link
Collaborator

Great, are you going to have a go at implementing that too @chipitsine ?

@chipitsine
Copy link
Author

I do not think I would ever have time for learning python :(

@peternewman
Copy link
Collaborator

No worries, I just wanted to clarify in case someone else sees this and wants to give it a go that you're not already working on it.

@peterjc
Copy link
Contributor

peterjc commented Aug 30, 2021

Related to this, I would like to ignore words in all upper case (typically company/product names or acronyms like "OTU" which is not a typo for "out"), and potentially also ignore words in mixed case.

Edit: My request is covered by #1578.

@chipitsine
Copy link
Author

there is also CamelCase which is candidate for automatic exclusion (if not already).

however, I would be happy to exclude "C" language primitives, like variable names from scanning. if such an approach will come to mind, it might be even better than all-capital and CamelCase whitelisting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants