Package edu.fiu.jtlex
Interface ITemporalNode
- All Superinterfaces:
IANode
- All Known Implementing Classes:
TemporalNode
- Author:
- arada002
-
Method Summary
Modifier and TypeMethodDescriptionintgetBegin()Consecutive Term nodes with a Temporal NamedEntity tag are combined to form the compound termintgetEnd()The function of Date ObjectgetFid()The function of the TemporalNode in the document.intgetId()The integer id of the CompoundTerm Node.The function of Date Object.getText()Returns the text of the temporal node.intThe timex type of the Temporal Node.booleanThe TemporalNode can have a TemporalFunction in the document.
-
Method Details
-
getCompoundTerm
ICompoundTerm getCompoundTerm()Consecutive Term nodes with a Temporal NamedEntity tag are combined to form the compound term- Returns:
- ICompoundTerm compoundTerm
-
getId
int getId()The integer id of the CompoundTerm Node. -
getBegin
int getBegin() -
getEnd
int getEnd() -
getText
String getText()Returns the text of the temporal node. -
getTimexText
String getTimexText() -
getTimexType
ITimex.TimexType getTimexType()The timex type of the Temporal Node.- Returns:
- TimexType enum
-
getTimexTid
int getTimexTid() -
isTemporalFunction
boolean isTemporalFunction()The TemporalNode can have a TemporalFunction in the document.- Returns:
if the node has temporal function in the document if the node does not have the temporal function in the document
-
getFid
ITimex.FunctionInDocument getFid()The function of the TemporalNode in the document.- Returns:
- FunctionInDocument enum NONE if not specified
-
getstartDate
Date getstartDate()The function of Date Object.- Returns:
- Date startDate NONE if not specified
-
getendDate
Date getendDate()The function of Date Object- Returns:
- Date endDate
-