public class UppercaseNounReadingFilter extends RuleFilter
token parameter
has a noun reading, e.g. German "stand" (past of "stehen") would be turned into
"Stand" and the rule match would be accepted, as it's a noun.| Constructor and Description |
|---|
UppercaseNounReadingFilter() |
| Modifier and Type | Method and Description |
|---|---|
RuleMatch |
acceptRuleMatch(RuleMatch match,
Map<String,String> arguments,
AnalyzedTokenReadings[] patternTokens) |
matches@Nullable public RuleMatch acceptRuleMatch(RuleMatch match, Map<String,String> arguments, AnalyzedTokenReadings[] patternTokens)
acceptRuleMatch in class RuleFilter