Package edu.fiu.jtlex.timeml.io
Interface ITimeMLParser
- All Known Implementing Classes:
TimeMLParser
public interface ITimeMLParser
The interface for the master parser to allow for different parts of
a timeML document (Event, Timex, and Link) to be parsed for the required
variables within their strings.
- Since:
- jTLEX 1.0
- Author:
- ceber003
-
Method Summary
Modifier and TypeMethodDescriptionparse(InputStream timeML) The parse method which will take the input stream and break it up into the different variables held within.
-
Method Details
-
parse
The parse method which will take the input stream and break it up into the different variables held within.- Parameters:
timeML- the TimeML annotated text file to be parsed.- Returns:
- a new Text object which contains all of the separated data.
- Throws:
UnsupportedEncodingException- the text must be encoded using UFT-8.NullPointerException- if tml argument isnull- Since:
- jTLEX 1.0
-