Package edu.fiu.jtlex.data
Interface IText
- All Known Implementing Classes:
Text
public interface IText
Text objects are a placeholder for pre-analyzed, parsed data.
These have objects that contain
Time Expressions, Links,
Instances, Related Instances, and the Raw Text Data (with and without TimeML Tags).-
Method Summary
Modifier and TypeMethodDescriptionReturns a set view of all the instances.getLinks()Returns a set view of all the links.Returns the article text with TimeML tags.getRelatedInstances(IEvent event) Returns the Instances related to the event passedgetText()Returns the article text without TimeML tags.Returns a set view of all the TIMEXes.
-
Method Details
-
getText
String getText()Returns the article text without TimeML tags.- Returns:
- the article text without TimeML tags.
-
getRawText
String getRawText()Returns the article text with TimeML tags. This is the original text file that was input.- Returns:
- the article text with TimeML tags.
-
getTimexes
Returns a set view of all the TIMEXes.- Returns:
- a set view of all the TIMEXes
-
getLinks
Returns a set view of all the links.- Returns:
- a set view of all the links.
-
getInstances
Returns a set view of all the instances.- Returns:
- a set view of all the instances
-
getRelatedInstances
Returns the Instances related to the event passed- Parameters:
event- the event in question.- Returns:
- the Instances related to the event passed
-