public class RecentYearFilter extends RuleFilter
maxYearsBack years ago).| Constructor and Description |
|---|
RecentYearFilter() |
| Modifier and Type | Method and Description |
|---|---|
RuleMatch |
acceptRuleMatch(RuleMatch match,
Map<String,String> arguments,
int patternTokenPos,
AnalyzedTokenReadings[] patternTokens,
List<Integer> tokenPositions) |
getOptional, getOptional, getPosition, getRequired, getSkipCorrectedReference, isMatchAtSentenceStart, matchespublic RuleMatch acceptRuleMatch(RuleMatch match, Map<String,String> arguments, int patternTokenPos, AnalyzedTokenReadings[] patternTokens, List<Integer> tokenPositions)
acceptRuleMatch in class RuleFilter