-
Notifications
You must be signed in to change notification settings - Fork 233
Open
Labels
enhancementNew feature or requestNew feature or requestharper-corelintingpunctuationAn issue related to punctuation checkingAn issue related to punctuation checking
Description
The Error
Examples:
- Do you often see questions like this.
- Can they be fixed
- Why does it happen!
- Am I the only one who is annoyed.
Potential Edge Cases
Detecting questions is not as straightforward as you might think when the ? is missing.
They mostly start a present of past form of "be" or "do", a modal verb such as "can" or "should", or an interrogative word such as "what" or "how". In all the verb cases, the negative contractions are also possible.
But this isn't enough on its own. Many statements also fit this pattern.
Maybe the interrogatives have to precede one of those types of verbs, and maybe a pronoun in subject form has to follow said verb?
Implementation
It might be easier to implement if there were a version of ExprLinter that worked on sentences rather than "chunks".
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestharper-corelintingpunctuationAn issue related to punctuation checkingAn issue related to punctuation checking