Package org.languagetool.rules
Class SameRuleGroupFilter
java.lang.Object
org.languagetool.rules.SameRuleGroupFilter
- All Implemented Interfaces:
RuleMatchFilter
Filter rule matches so that only the first match is kept from overlapping
matches with the same rule group (actually: the same id).
- Since:
- 1.8
-
Constructor Details
-
SameRuleGroupFilter
public SameRuleGroupFilter()
-
-
Method Details
-
filter
- Specified by:
filterin interfaceRuleMatchFilter- Parameters:
ruleMatches- list of matches
-