Back to LanguageTool Homepage - Privacy - Imprint

How to disable a specific rule ID?

It is possible to disable entire categories, but I don’t see a way how to disable a specific ID?

https://languagetool.org/http-api/swagger-ui/#!/default/post_check

f.e. I want to disable the ID “SEHR_GEEHRTER_NAME” but it looks I can only do this if I disable the entire “GRAMMAR” category.

Is the only solution there to remove the XML for the rule within the grammar.xml file before I launch the server?

For now I just implemented that we ignore any matches related to this rule ID

You can use disabledRules=... in the API call to disable specific rules. You can also use disabledRuleIds in the properties files when you start the server (call java -jar languagetool-server.jar for usage help).

thx