Package edu.fiu.jtlex
Interface ICompoundTerm
- All Superinterfaces:
IANode
- All Known Implementing Classes:
CompoundTerm
- Author:
- arada002, jposa005
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn enum that represents the different labels of a Node. -
Method Summary
Modifier and TypeMethodDescriptionRepresents the aspect of an event instance phrase.intgetBegin()The durational facet of the main event.intintgetEnd()intgetId()The integer id of the CompoundTerm Node.Labels of the CompoundTermgetLemma()Returns the head or the main term in the noun phrase.getPos()Returns the POS tag.getTense()Grammatical Tense of the Term.getTerm()The main term associated with the linguistic event.getText()Returns the text of the Compound Term Node.Each timex has text associated with it.The timex type of the Compound Term.getVoice()Returns the voice of the Compound Term Node.Boolean representing whether the phrase is negated.
-
Method Details
-
getId
int getId()The integer id of the CompoundTerm Node. -
getLabels
ICompoundTerm.Label[] getLabels()Labels of the CompoundTerm- Returns:
- Label[] labels - an array of labels
-
getLemma
String getLemma()Returns the head or the main term in the noun phrase.- Returns:
- String lemma
-
getTimexType
ITimex.TimexType getTimexType()The timex type of the Compound Term.- Returns:
- TimexType enum
-
getBegin
int getBegin() -
getEnd
int getEnd() -
getText
String getText()Returns the text of the Compound Term Node. -
getPos
ITerm.PartOfSpeech getPos()Returns the POS tag.- Returns:
- PartOfSpeech enum may not be null
-
getElementID
int getElementID()- Returns:
-
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
-
getVoice
String getVoice()Returns the voice of the Compound Term Node. Can be Active, Passive, or NONE- Returns:
- String voice
-
getDuration
String getDuration()The durational facet of the main event.- Returns:
- String duration
-
getTimexText
String getTimexText()Each timex has text associated with it. Returns the text tied to the timex.- Returns:
- timexText string may not be null
-
getTerm
ITerm getTerm()The main term associated with the linguistic event.- Returns:
- ITerm term
-
isNegated
Boolean isNegated()Boolean representing whether the phrase is negated.- Returns:
if it is negated if it is not negated
-