Class RuleWithMaxFilter

java.lang.Object
org.languagetool.rules.RuleWithMaxFilter
All Implemented Interfaces:
RuleMatchFilter

public class RuleWithMaxFilter extends Object implements 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