ISingleValueCategory Interface Reference

Inheritance diagram for ISingleValueCategory:
Collaboration diagram for ISingleValueCategory:

List of all members.

Detailed Description

An ISingleValueCategory is an ICategory which provides a category-String as value.


Public Methods

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

Package Functions

long getId ()

Method Details

String getCategory ( )

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

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.