Reference documentation and code samples for the Cloud Natural Language V1 Client class Tag.
The part of speech tags enum.
Protobuf type google.cloud.language.v1.PartOfSpeech.Tag
Namespace
Google \ Cloud \ Language \ V1 \ PartOfSpeechMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
UNKNOWN
Value: 0Unknown
Generated from protobuf enum UNKNOWN = 0;
ADJ
Value: 1Adjective
Generated from protobuf enum ADJ = 1;
ADP
Value: 2Adposition (preposition and postposition)
Generated from protobuf enum ADP = 2;
ADV
Value: 3Adverb
Generated from protobuf enum ADV = 3;
CONJ
Value: 4Conjunction
Generated from protobuf enum CONJ = 4;
DET
Value: 5Determiner
Generated from protobuf enum DET = 5;
NOUN
Value: 6Noun (common and proper)
Generated from protobuf enum NOUN = 6;
NUM
Value: 7Cardinal number
Generated from protobuf enum NUM = 7;
PRON
Value: 8Pronoun
Generated from protobuf enum PRON = 8;
PRT
Value: 9Particle or other function word
Generated from protobuf enum PRT = 9;
PUNCT
Value: 10Punctuation
Generated from protobuf enum PUNCT = 10;
VERB
Value: 11Verb (all tenses and modes)
Generated from protobuf enum VERB = 11;
X
Value: 12Other: foreign words, typos, abbreviations
Generated from protobuf enum X = 12;
AFFIX
Value: 13Affix
Generated from protobuf enum AFFIX = 13;