public interface TimeExpressionPatterns
Modifier and Type | Method and Description |
---|---|
CoreMapExpressionExtractor |
createExtractor()
Creates a CoreMapExpressionExtractor that knows how
to extract time related expressions from text into CoreMaps
|
int |
determineRelFlags(CoreMap annotation,
TimeExpression te)
Determine how date/times should be resolved for the given temporal
expression and its context
|
CoreMapExpressionExtractor createExtractor()
int determineRelFlags(CoreMap annotation, TimeExpression te)
annotation
- Annotation from which the temporal express was extracted (context)te
- Temporal expression