ILabeledElement Interface Reference

Inheritance diagram for ILabeledElement:
Collaboration diagram for ILabeledElement:

List of all members.


Detailed Description

This interface represents a continuous part of a signal, as, for instance, the range of a sentence or a paragraph, a single character, or a word. It enriches DataObject by the method ILabeledElement#getLabel(), which is mainly meant for displaying or debugging purposes, as the value returned by this method is unrestricted and can return any value.

Author:
sschwieb

Public Methods

String getLabel ()
void setId (long id)

Package Functions

long getId ()

Method Details

long getId ( ) [package, inherited]
String getLabel ( )

Returns the label of this token, which can be any kind of string (except null), mainly used for display-reasons only. Note: Components MUST NOT assume that any kind of label (like 'word' or else) is returned by this method.

Implemented in LabeledAnnotation, TerminalNode< T >, TEIDramaSpeaker, TEIDramaSpeechAct, TEIDramaStage, JodaDateTime, JodaInterval, JodaPeriod, Timex, Tweet, and TwitterEntity.