Package org.languagetool.rules
Class RuleWithMaxFilter
java.lang.Object
org.languagetool.rules.RuleWithMaxFilter
- All Implemented Interfaces:
RuleMatchFilter
Filter rule matches so that only the longest match is kept from overlapping
matches with the same rule that contains tokens with maxOccurrence > 1.
- Since:
- 2.6
-
Constructor Details
-
RuleWithMaxFilter
public RuleWithMaxFilter()
-
-
Method Details
-
filter
- Specified by:
filter
in interfaceRuleMatchFilter
-
includes
-
haveSameRule
-