Package edu.fiu.jtlex.data
Interface ISignal
- All Known Implementing Classes:
Signal
public interface ISignal
Represents the signal tag.
A signal is a textual element that makes explicit the relation holding between two entities (timex and event, timex and timex, or event and event). Signals are generally:
- Temporal prepositions: on, in, at, from, to, before, after, during, etc.
- Temporal conjunctions: before, after, while, when, etc.
- Prepositions signaling modality: to.
- Special characters: X-X and X/X, in temporal expressions denoting ranges (September 4-6, Apr. 1999/Jul. 1999, etc.).
- Since:
- Revision 73
- Author:
- arada002
-
Method Summary
Modifier and TypeMethodDescriptionclone()Returns a deep copy of the Signal.intgetID()Returns a unique signal ID number.getIdStr()Returns a unique signal ID string.Returns the temporal preposition, conjunction or modifier phrase.toJSON()Returns the JSON (RFC 8259) representation of the Signal.toString()Returns the String representation of the Signal.
-
Method Details
-
getID
int getID()Returns a unique signal ID number.- Returns:
- a unique signal ID number. May not return less than 1
- Since:
- Revision 73
-
getIdStr
String getIdStr()Returns a unique signal ID string.- Returns:
- a unique signal ID string.
May not return
null. - Since:
- Revision 73
-
getSignalString
String getSignalString()Returns the temporal preposition, conjunction or modifier phrase.- Returns:
- the temporal preposition, conjunction or modifier phrase.
May not return
null. - Since:
- Revision 73
-
toString
String toString()Returns the String representation of the Signal. -
toJSON
String toJSON()Returns the JSON (RFC 8259) representation of the Signal.- Returns:
- the JSON (RFC 8259) representation of the Signal.
- Since:
- Revision 391
-
clone
ISignal clone()Returns a deep copy of the Signal.- Returns:
- a deep copy of the Signal.
- Since:
- Revision 394
-