IConstituent Interface Reference

Inheritance diagram for IConstituent:
Collaboration diagram for IConstituent:

List of all members.

Public Methods

String getCategory ()
void setId (long id)
long calcTypeId ()
String getLabel ()

Package Functions

long getId ()

Method Details

String getCategory ( ) [inherited]

Returns the category-string of this category. Note that this value is not further restricted, and different implementations might return different strings.

Returns:
the category string

Implemented in SingleValueCategory, TemporalExpression, SimplePartOfSpeech, NamedEntity, OrganizationName, PersonName, UnspecifiedNamedEntity, GeographicLocation, Location, Mountain, PopulatedPlace, Waters, SequencerReplacement, and SimpleReplacement.

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

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.