Back to LanguageTool Homepage - Privacy - Imprint

How to use <or>


(Michael) #1

Hello,
I was happy to find the element in LanguageTool 2.3 but I'm not sure about the proper usage. My Rule looks as follows:



the|The

Studio|Blueprint


plugin

The rule should match when "the Studio" is not followed by a noun (etc.) or by the word "plugin" but it does not work.


(Daniel Naber) #2

Due to negation, you will need to use here. will internally expand this rule into two rules, each with one of the tokens.


(Daniel Naber) #3

Starting with LT 2.5 it will be possible to express exceptions with "antipattern" - that's just like a pattern, only it prevents a rule match if it is found in the sentence.