IPartOfSpeech Interface Reference

Inheritance diagram for IPartOfSpeech:
Collaboration diagram for IPartOfSpeech:

List of all members.


Detailed Description

An IPartOfSpeech is an ISingleValueCategory and an IWord. It acts as a marker interface to define syntactical categories by using sub-interfaces of this interface.

Author:
sschwieb

Public Methods

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

Package Functions

long getId ()

Method Details

String getAdditionalInformation ( )
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.

String getPartOfSpeechTag ( )