Package edu.fiu.jtlex

Interface ITerm

All Superinterfaces:
IANode
All Known Implementing Classes:
Term

public interface ITerm extends IANode
Author:
jjime178 Represents the Term node.
  • Method Details

    • getId

      int getId()
      Each term has to be identified by a unique ID number. This value is not optional. Returns the id of the term.
      Specified by:
      getId in interface IANode
      Returns:
      id integer may not be negative
    • getLemma

      String getLemma()
      Each head of the main term in the noun phrase. Returns the main term as a string.
      Returns:
      lemma string may not be null
    • getFrameSet

      String getFrameSet()
      Composed of the lemma and the sense associated with it (Can check Wordnet). Returns the lemma and sense seperated by a '.'.
      Returns:
      frameSet string may not be null
    • getText

      String getText()
      Text being referred to by term. Returns the text.
      Specified by:
      getText in interface IANode
      Returns:
      text string may not be null
    • getSentenceId

      String getSentenceId()
      ID of sentence attached to term. Returns the id of the sentence.
      Returns:
      sentenceID integer may not be negative
    • getBegin

      int getBegin()
      Word�s first character position within text. Returns the integer position of first character.
      Specified by:
      getBegin in interface IANode
      Returns:
      begin integer may not be negative
    • getEnd

      int getEnd()
      Term's last character position within text. Returns the integer position of last character.
      Specified by:
      getEnd in interface IANode
      Returns:
      end integer may not be negative
    • getPos

      Term's pos tagging. Returns the pos tag associated.
      Returns:
      pos String may not be null
    • getElementId

      String getElementId()
      Contains id of element (Can be verbs, nouns, clauses, sentences). Returns the id of element.
      Returns:
      elementId integer may not be negative
    • getTimexText

      String getTimexText()
      Each timex has text associated with it. Returns the text tied to the timex.
      Returns:
      timexText string may not be null
    • getNamedEntity

      ITerm.NamedEntity getNamedEntity()
      Marks the Term as an Entity type. Returns the type to which the term belongs.
      Returns:
      NamedEntity enum may not be null.
    • getNormalizedNER

      String getNormalizedNER()
      Normalized text after NER annotation. Returns the NER annotated text.
      Returns:
      normalizedNER string may not be null
    • getTimexType

      ITimex.TimexType getTimexType()
      TimexType of term. Returns the timex type to which the object belongs.
      Returns:
      TimexType enum may not be null.
    • getTid

      String getTid()
      Each timex has to be identified by a unique ID number. This value is not optional. Returns the string part of the timexId.
      Returns:
      timexId string may not be null
    • getTense

      ITerm.ATense getTense()
      Grammatical Tense of the Term. This value is optional.
      Returns:
      ATense enum
    • getAspect

      IInstance.Aspect getAspect()
      Represents the aspect of an event instance phrase.
      Returns:
      Aspect enum