public class TimeMain extends Object
| Modifier and Type | Field and Description |
|---|---|
static TimeAnnotator |
timeAnnotator |
| Constructor and Description |
|---|
TimeMain() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
static void |
processDocument(Document doc)
determines the reference time and adds TIMEX2 annotations to all the
TEXT fields of document
doc. |
public static TimeAnnotator timeAnnotator
public static void main(String[] args) throws IOException
IOExceptionpublic static void processDocument(Document doc)
doc.
The reference time (document creation date) is found from
Copyright © 2016 New York University. All rights reserved.