Finite Class Reference

Inheritance diagram for Finite:
Collaboration diagram for Finite:

List of all members.

Public Types

enum  Person { FIRST, SECOND, THIRD }

Public Methods

 Finite ()
Aspect getAspect ()
void setAspect (Aspect a)
String getMood ()
String getNumber ()
Person getPerson ()
void setPerson (Person p)
BaseTense getBaseTense ()
void setBaseTense (BaseTense b)
String getVoice ()
boolean matchesAspect (HasAspect other)
boolean matchesMood (HasMood other)
boolean matchesNumber (HasNumber other)
boolean matchesPerson (HasPerson other)
boolean matchesBaseTense (HasTense other)
boolean matchesVoice (HasVoice other)
boolean isAuxiliar ()
HierarchicalPartOfSpeech cloneCategory ()
boolean hasFeature (String name, String value)
Map< String, String > getFeatures ()
void setBaseForm (String baseForm)
void setAdditionalInformation (String additionalInformation)
String toString ()
void setOriginalTag (String posTag)
long calcTypeId ()
String getPartOfSpeechTag ()
String getAdditionalInformation ()
Set< String > getSubCategories ()
void addCategory (String subCategory)
String getCategory ()
void setCategory (String category)
String getLabel ()
void setLabel (String label)
long getId ()
void setId (long id)

Protected Methods

void addFeature (String name, String value)
boolean hasFeature (String name)
String getFeature (String name)

Protected Attributes

Set< String > subCategories

Static Protected Attributes

static final String AUXILIAR = "auxiliar"
static final String TRUE = "true"
static final String FALSE = "false"
static final String BASE_FORM = "BASE_FORM"
static final String ORIGINAL_TAG = "ORIGINAL_TAG"
static final String ADDITIONAL_INFORMATION = "ADDITIONAL_INFORMATION"

Package Types

enum  BaseTense { PAST, PRESENT, FUTURE }
enum  Aspect { PERFECTIVE, IMPERFECTIVE }

Member Enumeration Documentation

enum Aspect [package, inherited]
Enumerator:
PERFECTIVE 
IMPERFECTIVE 
enum BaseTense [package, inherited]
Enumerator:
PAST 
PRESENT 
FUTURE 
enum Person [inherited]
Enumerator:
FIRST 
SECOND 
THIRD 

Constructors

Finite ( )

Method Details

void addCategory ( String  subCategory) [inherited]
void addFeature ( String  name,
String  value 
) [protected, inherited]
long calcTypeId ( ) [inherited]

Reimplemented from HierarchicalCategory.

HierarchicalPartOfSpeech cloneCategory ( ) [inherited]
String getAdditionalInformation ( ) [inherited]

Implements IPartOfSpeech.

Aspect getAspect ( )

Implements HasAspect.

BaseTense getBaseTense ( )

Implements HasTense.

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

Implements ISingleValueCategory.

String getFeature ( String  name) [protected, inherited]
Map<String, String> getFeatures ( ) [inherited]
long getId ( ) [inherited]

Returns the Id of this DataObject. Might return 0, if the object hasn't been inserted into database yet.

Returns:
id

Implements DataObject.

Reimplemented in Tweet, and TwitterEntity.

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.

Implements ILabeledElement.

Reimplemented in TEIDramaSpeaker, TEIDramaSpeechAct, TEIDramaStage, JodaDateTime, JodaInterval, JodaPeriod, Timex, Tweet, and TwitterEntity.

String getMood ( )

Implements HasMood.

String getNumber ( )

Implements HasNumber.

String getPartOfSpeechTag ( ) [inherited]

Implements IPartOfSpeech.

Person getPerson ( )

Implements HasPerson.

Set<String> getSubCategories ( ) [inherited]

Returns the sub-category strings of this category. Note that these values are not further restricted, and different implementations might return different strings.

Returns:
the sub-category strings

Implements IHierarchicalCategory.

String getVoice ( )

Implements HasVoice.

boolean hasFeature ( String  name) [protected, inherited]
boolean hasFeature ( String  name,
String  value 
) [inherited]
boolean isAuxiliar ( ) [inherited]

Returns true if the verb is an auxiliar verb, such as "be" or "have".

Returns:
true if the verb is an auxiliar verb, otherwise false

Implements IVerb.

boolean matchesAspect ( HasAspect  other)

Checks two objects for equality in aspect.

Parameters:
other
Returns:
true iff the Aspect enum is equal between the two objects.

Implements HasAspect.

boolean matchesBaseTense ( HasTense  other)

Checks two objects for equality in mood.

Parameters:
other
Returns:
true iff the BaseTense enum is equal between the two objects.

Implements HasTense.

boolean matchesMood ( HasMood  other)

Checks two objects for equality in mood.

Parameters:
other
Returns:
true iff the mood is equal between the two objects.

Implements HasMood.

boolean matchesNumber ( HasNumber  other)

Checks two objects for equality in number.

Parameters:
other
Returns:
true iff the number is equal between the two objects.

Implements HasNumber.

boolean matchesPerson ( HasPerson  other)

Checks two objects for equality in person.

Parameters:
other
Returns:
true iff the Person enum is equal between the two objects.

Implements HasPerson.

boolean matchesVoice ( HasVoice  other)

Checks two objects for equality in voice.

Parameters:
other
Returns:
true iff the voice is equal between the two objects.

Implements HasVoice.

void setAdditionalInformation ( String  additionalInformation) [inherited]
void setAspect ( Aspect  a)
void setBaseForm ( String  baseForm) [inherited]
void setBaseTense ( BaseTense  b)
void setCategory ( String  category) [inherited]
void setId ( long  id) [inherited]

Set the Id of this DataObject.

Parameters:
id

Implements DataObject.

Reimplemented in Tweet, and TwitterEntity.

void setLabel ( String  label) [inherited]
void setOriginalTag ( String  posTag) [inherited]
void setPerson ( Person  p)
String toString ( ) [inherited]

Reimplemented from HierarchicalCategory.


Field Details

final String ADDITIONAL_INFORMATION = "ADDITIONAL_INFORMATION" [static, protected, inherited]
final String AUXILIAR = "auxiliar" [static, protected, inherited]
final String BASE_FORM = "BASE_FORM" [static, protected, inherited]
final String FALSE = "false" [static, protected, inherited]
final String ORIGINAL_TAG = "ORIGINAL_TAG" [static, protected, inherited]
Set<String> subCategories [protected, inherited]
final String TRUE = "true" [static, protected, inherited]