IArticle Interface Reference

Inheritance diagram for IArticle:
Collaboration diagram for IArticle:

List of all members.

Public Methods

String getPartOfSpeechTag ()
String getAdditionalInformation ()
String getCategory ()
void setId (long id)
long calcTypeId ()
String getLabel ()
Set< String > getSubCategories ()
String getCase ()
boolean matchesCase (IsCaseAware other)
String getNumber ()
boolean matchesNumber (HasNumber other)
String getGender ()
boolean matchesGender (HasGender other)

Package Functions

long getId ()

Method Details

String getAdditionalInformation ( ) [inherited]
String getCase ( ) [inherited]

Get a string representation of the case for this object

Returns:
a string representing the case of the object, e.g. "nominative"

Implemented in Attributive, Adposition, Determiner, Noun, Demonstrative, Interrogative, Personal, Possessive, Reflexive, Relative, IndoEuPredicative, IndoEuCaseBase, and IndoEuPronominalAdverb.

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 ( ) [inherited]
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

Implemented in HierarchicalCategory.

boolean matchesCase ( IsCaseAware  other) [inherited]

Checks two objects that either have a case or assign a case for equality in respect to their case property.

Parameters:
other
Returns:
true iff the cases match or both objects don't have a case set.

Implemented in Attributive, Adposition, Determiner, Noun, Demonstrative, Interrogative, Personal, Possessive, Reflexive, Relative, and IndoEuCaseBase.

boolean matchesGender ( HasGender  other) [inherited]

Checks two objects for equality in gender.

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

Implemented in Attributive, Determiner, Noun, Demonstrative, Interrogative, Personal, Possessive, Reflexive, Relative, IndoEuPrepositionContraction, and IndoEuNounBase.

boolean matchesNumber ( HasNumber  other) [inherited]

Checks two objects for equality in number.

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

Implemented in Attributive, Determiner, Noun, Demonstrative, Indefinite, Interrogative, Personal, Possessive, Reflexive, Relative, Finite, IndoEuPrepositionContraction, IndoEuNounBase, and IndoEuFinite.