public interface Entity extends Token
Token
of a special nature such as a proper noun or a number that is
characterized by its lemma, type and a list of morphological tags apart from
the text itself.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLemma()
Returns the lemma of this entity.
|
java.util.List<java.lang.String> |
getMorphologicalTags()
Returns the list of morphological tags of this entity.
|
java.lang.String |
getType()
Returns the type of this entity.
|
Entity |
toLowerCase()
Returns the lower case representation of this entity.
|
equalsIgnoreCase
getText
java.lang.String getType()
java.lang.String getLemma()
java.util.List<java.lang.String> getMorphologicalTags()
Entity toLowerCase()
toLowerCase
in interface Token