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: “-” and “/”, in temporal expressions denoting ranges (September 4-6, Apr. 1999/Jul. 1999, etc.).
- Author:
- arada002
-
Method Details
-
getID
int getID()Returns a unique signal ID number.- Returns:
- a unique signal ID number. May not return less than 1
-
getIdStr
String getIdStr()Returns a unique signal ID string.- Returns:
- a unique signal ID string.
May not return
null.
-
getSignalString
String getSignalString()Returns the temporal preposition, conjunction or modifier phrase.- Returns:
- the temporal preposition, conjunction or modifier phrase.
May not return
null.
-
toJSON
String toJSON()Returns the JSON (RFC 8259) representation of the Signal.- Returns:
- the JSON (RFC 8259) representation of the Signal.
-
clone
ISignal clone()
-