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, waitfilterpublic DictionarySpellMatchFilter(UserConfig userConfig)
public List<RuleMatch> filter(List<RuleMatch> ruleMatches, AnnotatedText text)
filter in interface RuleMatchFilterruleMatches - matches to transform/filtertext - corresponding text