In disambiguation, someone has immunized various phrases, for example, refer to rule CD_OR_MORE and the surrounding rules.
As a result, this grammar rule does not work:
<rule name="CD or more" id="TEST_CD_OR_MORE"> <pattern> <token postag="CD"/> <token>or</token> <token>more</token> </pattern> <message>Found: \1 \2 \3</message> <example correction="">If you find <marker>two or more</marker> problems, stop the test.</example> </rule>
Testrules gives this message:
Exception in thread "main" java.lang.AssertionError: English rule TEST_CD_OR_MORE: "If you find two or more problems, stop the test." Errors expected: 1 Errors found : 0
What is the reason for the immunization?