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 Summary

    Modifier and Type Method Description
    ISignal clone()
    Returns a deep copy of the Signal.
    int getID()
    Returns a unique signal ID number.
    java.lang.String getIdStr()
    Returns a unique signal ID string.
    java.lang.String getSignalString()
    Returns the temporal preposition, conjunction or modifier phrase.
    java.lang.String toJSON()
    Returns the JSON (RFC 8259) 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
    • getIdStr

      java.lang.String getIdStr()
      Returns a unique signal ID string.
      Returns:
      a unique signal ID string. May not return null.
    • getSignalString

      java.lang.String getSignalString()
      Returns the temporal preposition, conjunction or modifier phrase.
      Returns:
      the temporal preposition, conjunction or modifier phrase. May not return null.
    • toJSON

      java.lang.String toJSON()
      Returns the JSON (RFC 8259) representation of the Signal.
      Returns:
      the JSON (RFC 8259) representation of the Signal.
    • clone

      ISignal clone()
      Returns a deep copy of the Signal.
      Returns:
      a deep copy of the Signal.