public class DayOfWeekPattern extends PatternItem
| Constructor and Description |
|---|
DayOfWeekPattern() |
| Modifier and Type | Method and Description |
|---|---|
PatternMatchResult |
match(Document doc,
List<Annotation> tokens,
int offset)
if tokens[offset] matches the Pattern Item, return a PatternMatchResult
containing the normalized value of the matched token along with
the span of the matched token, else
null. |
public PatternMatchResult match(Document doc, List<Annotation> tokens, int offset)
PatternItemnull.match in class PatternItemCopyright © 2016 New York University. All rights reserved.