Package edu.fiu.jtlex.timeml.io
Class TimeMLParser
java.lang.Object
edu.fiu.jtlex.timeml.io.TimeMLParser
- All Implemented Interfaces:
ITimeMLParser
Default implementation of
ITimeMLParser.- Since:
- jTLEX 1.0
- Author:
- arada002
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse(InputStream tmlFile) A method for parsing a TimeML File and returning the found set of events/timex's/signals/instances/links and returns them as a text object.
-
Constructor Details
-
TimeMLParser
public TimeMLParser()
-
-
Method Details
-
parse
A method for parsing a TimeML File and returning the found set of events/timex's/signals/instances/links and returns them as a text object.- Specified by:
parsein interfaceITimeMLParser- Parameters:
tmlFile- An InputStream containing the TimeML File.- Returns:
- An IText object containing the text/raw text/events/timex's/signals/instances/links.
- Throws:
NullPointerException- if tmlFile argument isnull
-