edu.stanford.nlp.time
Class HeidelTimeAnnotator
java.lang.Object
edu.stanford.nlp.time.HeidelTimeAnnotator
- All Implemented Interfaces:
- Annotator
public class HeidelTimeAnnotator
- extends java.lang.Object
- implements Annotator
Annotates text using HeidelTime
GUTIME/TimeML specifications can be found at:
http://www.timeml.org/site/tarsqi/modules/gutime/index.html.
TODO heideltime doesn't actually run on the NLP machines :( (TreeTagger doesn't run)
- Author:
- Gabor Angeli
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HEIDELTIME_PATH_PROPERTY
public static final java.lang.String HEIDELTIME_PATH_PROPERTY
- See Also:
- Constant Field Values
HEIDELTIME_OUTPUT_RESULTS
public static final java.lang.String HEIDELTIME_OUTPUT_RESULTS
- See Also:
- Constant Field Values
HeidelTimeAnnotator
public HeidelTimeAnnotator()
HeidelTimeAnnotator
public HeidelTimeAnnotator(java.io.File heideltimePath)
HeidelTimeAnnotator
public HeidelTimeAnnotator(java.lang.String name,
java.util.Properties props)
annotate
public void annotate(Annotation annotation)
- Specified by:
annotate in interface Annotator
annotate
public void annotate(CoreMap document)
throws java.io.IOException
- Throws:
java.io.IOException
Stanford NLP Group