| Package | Description |
|---|---|
| edu.nyu.jet.time |
The Time package contains code for annotating time expressions in text
following the TIMEX2 standard.
|
| Modifier and Type | Method and Description |
|---|---|
PatternMatchResult |
DayOfWeekPattern.match(Document doc,
List<Annotation> tokens,
int offset) |
PatternMatchResult |
NumberPattern.match(Document doc,
List<Annotation> tokens,
int offset) |
PatternMatchResult |
RegexPattern.match(Document doc,
List<Annotation> tokens,
int offset) |
PatternMatchResult |
MonthPattern.match(Document doc,
List<Annotation> tokens,
int offset) |
abstract PatternMatchResult |
PatternItem.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. |
PatternMatchResult |
TimePattern.match(Document doc,
List<Annotation> tokens,
int offset)
if the tokens beginning at token[offset] constitute a time expression,
return a PatternMatchResult incorporating that time expression and
its span; otherwise return
null. |
PatternMatchResult |
StringPattern.match(Document doc,
List<Annotation> tokens,
int offset) |
Copyright © 2016 New York University. All rights reserved.