public class DictionarySpellMatchFilter extends Object implements RuleMatchFilter
Constructor and Description |
---|
DictionarySpellMatchFilter(UserConfig userConfig) |
Modifier and Type | Method and Description |
---|---|
List<RuleMatch> |
filter(List<RuleMatch> ruleMatches,
AnnotatedText text) |
Map<String,List<RuleMatch>> |
getPhrases(List<RuleMatch> ruleMatches,
AnnotatedText text) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
filter
public DictionarySpellMatchFilter(UserConfig userConfig)
public List<RuleMatch> filter(List<RuleMatch> ruleMatches, AnnotatedText text)
filter
in interface RuleMatchFilter
ruleMatches
- matches to transform/filtertext
- corresponding text