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 Type Method Description java.util.Set<IInstance>getInstances()Returns a set view of all the instances.java.util.Set<ILink>getLinks()Returns a set view of all the links.java.lang.StringgetRawText()Returns the article text with TimeML tags.java.util.Set<IInstance>getRelatedInstances(IEvent event)Returns the Instances related to the event passedjava.lang.StringgetText()Returns the article text without TimeML tags.java.util.Set<ITimex>getTimexes()Returns a set view of all the TIMEXes.
-
Method Details
-
getText
java.lang.String getText()Returns the article text without TimeML tags.- Returns:
- the article text without TimeML tags.
-
getRawText
java.lang.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
java.util.Set<ITimex> getTimexes()Returns a set view of all the TIMEXes.- Returns:
- a set view of all the TIMEXes
-
getLinks
java.util.Set<ILink> getLinks()Returns a set view of all the links.- Returns:
- a set view of all the links.
-
getInstances
java.util.Set<IInstance> 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
-