public enum PartOfSpeech.Tag extends Enum<PartOfSpeech.Tag> implements ProtocolMessageEnum
The part of speech tags enum.
Protobuf enum google.cloud.language.v1beta2.PartOfSpeech.Tag
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
ADJ |
Adjective |
ADJ_VALUE |
Adjective |
ADP |
Adposition (preposition and postposition) |
ADP_VALUE |
Adposition (preposition and postposition) |
ADV |
Adverb |
ADV_VALUE |
Adverb |
AFFIX |
Affix |
AFFIX_VALUE |
Affix |
CONJ |
Conjunction |
CONJ_VALUE |
Conjunction |
DET |
Determiner |
DET_VALUE |
Determiner |
NOUN |
Noun (common and proper) |
NOUN_VALUE |
Noun (common and proper) |
NUM |
Cardinal number |
NUM_VALUE |
Cardinal number |
PRON |
Pronoun |
PRON_VALUE |
Pronoun |
PRT |
Particle or other function word |
PRT_VALUE |
Particle or other function word |
PUNCT |
Punctuation |
PUNCT_VALUE |
Punctuation |
UNKNOWN |
Unknown |
UNKNOWN_VALUE |
Unknown |
UNRECOGNIZED |
|
VERB |
Verb (all tenses and modes) |
VERB_VALUE |
Verb (all tenses and modes) |
X |
Other: foreign words, typos, abbreviations |
X_VALUE |
Other: foreign words, typos, abbreviations |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |