Cloud Natural Language V1 Client - Class Tag (0.34.0)

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

Value: 0

Unknown

Generated from protobuf enum UNKNOWN = 0;

ADJ

Value: 1

Adjective

Generated from protobuf enum ADJ = 1;

ADP

Value: 2

Adposition (preposition and postposition)

Generated from protobuf enum ADP = 2;

ADV

Value: 3

Adverb

Generated from protobuf enum ADV = 3;

CONJ

Value: 4

Conjunction

Generated from protobuf enum CONJ = 4;

DET

Value: 5

Determiner

Generated from protobuf enum DET = 5;

NOUN

Value: 6

Noun (common and proper)

Generated from protobuf enum NOUN = 6;

NUM

Value: 7

Cardinal number

Generated from protobuf enum NUM = 7;

PRON

Value: 8

Pronoun

Generated from protobuf enum PRON = 8;

PRT

Value: 9

Particle or other function word

Generated from protobuf enum PRT = 9;

PUNCT

Value: 10

Punctuation

Generated from protobuf enum PUNCT = 10;

VERB

Value: 11

Verb (all tenses and modes)

Generated from protobuf enum VERB = 11;

X

Value: 12

Other: foreign words, typos, abbreviations

Generated from protobuf enum X = 12;

AFFIX

Value: 13

Affix

Generated from protobuf enum AFFIX = 13;