|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.nlp.time.GenericTimeExpressionPatterns
public class GenericTimeExpressionPatterns
Provides generic mechanism to convert natural language into temporal representation by reading patterns/rules specifying mapping between text and temporal objects from file.
| Constructor Summary | |
|---|---|
GenericTimeExpressionPatterns(Options options)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericTimeExpressionPatterns(Options options)
| Method Detail |
|---|
public CoreMapExpressionExtractor createExtractor()
TimeExpressionPatterns
createExtractor in interface TimeExpressionPatterns
public int determineRelFlags(CoreMap annotation,
TimeExpression te)
TimeExpressionPatterns
determineRelFlags in interface TimeExpressionPatternsannotation - Annotation from which the temporal express was extracted (context)te - Temporal expression
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||