Back to LanguageTool Homepage - Privacy - Imprint

Immunizing fixed expressions

(Ruud Baars) #1

In Dutch, there are lots of fixed expressions, that violate some general rule or other, but nevertheless are correct.
Is there a way to ‘immunize’ all rules for these fixed patterns, a bit like ‘antipattern’, but then generally, for all rules?

(Daniel Naber) #2

Yes, you can use action="immunize" in disambiguation.xml, like here.

(Ruud Baars) #3

Okay, so that is not just immunization for disambiguation, but for all rules as well? (I ma sorry, but knowledge of LT has slipped away partly the last few years.

About ‘exceptions’, those are actually obsolete (or partly double) because of antipattern, right?

(Daniel Naber) #4


Not quite, sometimes it’s less verbose and/or more natural to use an exception.

(Ruud Baars) #5

Yes, it is less verbose. Redundant nevertheless. I would not know what it means for maintainability, and will leave that up to others.