Package org.languagetool.rules
Class DictionaryMatchFilter
- java.lang.Object
-
- org.languagetool.rules.DictionaryMatchFilter
-
- All Implemented Interfaces:
RuleMatchFilter
public class DictionaryMatchFilter extends Object implements RuleMatchFilter
-
-
Constructor Summary
Constructors Constructor Description DictionaryMatchFilter(UserConfig userConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RuleMatch>
filter(List<RuleMatch> ruleMatches, AnnotatedText text)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.languagetool.rules.RuleMatchFilter
filter
-
-
-
-
Constructor Detail
-
DictionaryMatchFilter
public DictionaryMatchFilter(UserConfig userConfig)
-
-
Method Detail
-
filter
public List<RuleMatch> filter(List<RuleMatch> ruleMatches, AnnotatedText text)
- Specified by:
filter
in interfaceRuleMatchFilter
- Parameters:
ruleMatches
- matches to transform/filtertext
- corresponding text- Returns:
- transformed matches
-
-