languagetool
languagetool copied to clipboard
Add apostrophes for English contractions
Hello,
I have the following error in PyCharm that uses LanguageTool:
Typo: In word 'doesn'
for the text:
the code that doesn’t pass the tests
I thought it would be easy to correct by simply adding the form:
doesn’t
, just after where doesn't
is.
But it is explicitly asked to not do so here: https://github.com/languagetool-org/languagetool/blob/a043ef325d13469a6b56bc598d877495ca6e0458/languagetool-language-modules/en/src/main/resources/org/languagetool/rules/en/contractions.txt#L3
Then how to correct this false positive, please?
Best regards, Laurent Lyaudet
LanguageTool doesn't detect any error in the sentence
the code that doesn’t pass the tests
How can we reproduce the error that you mention?
Thanks for your answer :). By using PyCharm? I don't know exactly how PyCharm integrates LanguageTool. I do know that I see the error in PyCharm and that PyCharm uses LanguageTool. I will report the bug to PyCharm instead and I'll keep you informed. Sorry for the loss of time.
Here is my bug report on Pycharm: https://youtrack.jetbrains.com/issue/PY-65647/True-apostrophe-makes-typo-warning-for-doesnt-not-for-single-quote-doesnt