Cloud Natural Language V1 Client - Class Tag (1.0.1)
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 \ PartOfSpeech
Methods
static::name
Parameter |
Name |
Description |
value |
mixed
|
static::value
Parameter |
Name |
Description |
name |
mixed
|
Constants
UNKNOWN
Unknown
Generated from protobuf enum UNKNOWN = 0;
ADJ
Adjective
Generated from protobuf enum ADJ = 1;
ADP
Adposition (preposition and postposition)
Generated from protobuf enum ADP = 2;
ADV
Adverb
Generated from protobuf enum ADV = 3;
CONJ
Conjunction
Generated from protobuf enum CONJ = 4;
DET
Determiner
Generated from protobuf enum DET = 5;
NOUN
Noun (common and proper)
Generated from protobuf enum NOUN = 6;
NUM
Cardinal number
Generated from protobuf enum NUM = 7;
PRON
Pronoun
Generated from protobuf enum PRON = 8;
PRT
Particle or other function word
Generated from protobuf enum PRT = 9;
PUNCT
Punctuation
Generated from protobuf enum PUNCT = 10;
VERB
Verb (all tenses and modes)
Generated from protobuf enum VERB = 11;
X
Other: foreign words, typos, abbreviations
Generated from protobuf enum X = 12;
AFFIX
Affix
Generated from protobuf enum AFFIX = 13;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Cloud Natural Language V1 Client - Class Tag (1.0.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.1 (latest)](/php/docs/reference/cloud-language/latest/V1.PartOfSpeech.Tag)\n- [1.0.0](/php/docs/reference/cloud-language/1.0.0/V1.PartOfSpeech.Tag)\n- [0.34.3](/php/docs/reference/cloud-language/0.34.3/V1.PartOfSpeech.Tag)\n- [0.33.0](/php/docs/reference/cloud-language/0.33.0/V1.PartOfSpeech.Tag)\n- [0.32.7](/php/docs/reference/cloud-language/0.32.7/V1.PartOfSpeech.Tag)\n- [0.31.3](/php/docs/reference/cloud-language/0.31.3/V1.PartOfSpeech.Tag)\n- [0.30.2](/php/docs/reference/cloud-language/0.30.2/V1.PartOfSpeech.Tag)\n- [0.29.0](/php/docs/reference/cloud-language/0.29.0/V1.PartOfSpeech.Tag)\n- [0.28.5](/php/docs/reference/cloud-language/0.28.5/V1.PartOfSpeech.Tag) \nReference documentation and code samples for the Cloud Natural Language V1 Client class Tag.\n\nThe part of speech tags enum.\n\nProtobuf type `google.cloud.language.v1.PartOfSpeech.Tag`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Language \\\\ V1 \\\\ PartOfSpeech\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### UNKNOWN\n\n Value: 0\n\nUnknown\n\nGenerated from protobuf enum `UNKNOWN = 0;`\n\n### ADJ\n\n Value: 1\n\nAdjective\n\nGenerated from protobuf enum `ADJ = 1;`\n\n### ADP\n\n Value: 2\n\nAdposition (preposition and postposition)\n\nGenerated from protobuf enum `ADP = 2;`\n\n### ADV\n\n Value: 3\n\nAdverb\n\nGenerated from protobuf enum `ADV = 3;`\n\n### CONJ\n\n Value: 4\n\nConjunction\n\nGenerated from protobuf enum `CONJ = 4;`\n\n### DET\n\n Value: 5\n\nDeterminer\n\nGenerated from protobuf enum `DET = 5;`\n\n### NOUN\n\n Value: 6\n\nNoun (common and proper)\n\nGenerated from protobuf enum `NOUN = 6;`\n\n### NUM\n\n Value: 7\n\nCardinal number\n\nGenerated from protobuf enum `NUM = 7;`\n\n### PRON\n\n Value: 8\n\nPronoun\n\nGenerated from protobuf enum `PRON = 8;`\n\n### PRT\n\n Value: 9\n\nParticle or other function word\n\nGenerated from protobuf enum `PRT = 9;`\n\n### PUNCT\n\n Value: 10\n\nPunctuation\n\nGenerated from protobuf enum `PUNCT = 10;`\n\n### VERB\n\n Value: 11\n\nVerb (all tenses and modes)\n\nGenerated from protobuf enum `VERB = 11;`\n\n### X\n\n Value: 12\n\nOther: foreign words, typos, abbreviations\n\nGenerated from protobuf enum `X = 12;`\n\n### AFFIX\n\n Value: 13\n\nAffix\n\nGenerated from protobuf enum `AFFIX = 13;`"]]