Back to LanguageTool Homepage - Privacy - Imprint

Repeated word rules

I’ve been experimenting with LanguageTool using the community made docker container (Erikvl87/docker-languagetool) and had a quick question about repeated or duplicate word rules. I understand that they will not catch certain repeats since without extra context it isn’t a simple task (i.e. that that), but I was wondering why it didn’t find Yes yes or No no.

They seem unusual to me still. Perhaps I did not get the rules working properly? Are there any pointers on how I would go about getting those to be recognized as incorrect?

Exceptions have been added over time, maybe because “yes yes” is okay when used colloquially, and we want LT to work for these situations, too. List of exceptions in the code: https://github.com/languagetool-org/languagetool/blob/cb6b496d11a12dfbd8a3851e12a2168b19cf16fd/languagetool-language-modules/en/src/main/java/org/languagetool/rules/en/EnglishWordRepeatRule.java#L85

Awesome. Exactly what I was looking for. Thank you!