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 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

      Set<ITimex> getTimexes()
      Returns a set view of all the TIMEXes.
      Returns:
      a set view of all the TIMEXes
    • getLinks

      Set<ILink> getLinks()
      Returns a set view of all the links.
      Returns:
      a set view of all the links.
    • getInstances

      Set<IInstance> getInstances()
      Returns a set view of all the instances.
      Returns:
      a set view of all the instances
    • getRelatedInstances

      Set<IInstance> getRelatedInstances​(IEvent event)
      Returns the Instances related to the event passed
      Parameters:
      event - the event in question.
      Returns:
      the Instances related to the event passed