Package edu.fiu.jtlex
Interface ITerm
- All Superinterfaces:
IANode
- All Known Implementing Classes:
Term
- Author:
- jjime178 Represents the Term node.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn enum that represents the different tenses of event phrases.static classAn enum that represents the Standard CORENLP Named Entity Tag the term is associated with.static classAn enum that represents the Part of Speech Tag the term is associated with. -
Method Summary
Modifier and TypeMethodDescriptionRepresents the aspect of an event instance phrase.intgetBegin()Word�s first character position within text.Contains id of element (Can be verbs, nouns, clauses, sentences).intgetEnd()Term's last character position within text.Composed of the lemma and the sense associated with it (Can check Wordnet).intgetId()Each term has to be identified by a unique ID number.getLemma()Each head of the main term in the noun phrase.Marks the Term as an Entity type.Normalized text after NER annotation.getPos()Term's pos tagging.ID of sentence attached to term.getTense()Grammatical Tense of the Term.getText()Text being referred to by term.getTid()Each timex has to be identified by a unique ID number.Each timex has text associated with it.TimexType of term.
-
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. -
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. -
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. -
getEnd
int getEnd()Term's last character position within text. Returns the integer position of last character. -
getPos
ITerm.PartOfSpeech 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
-