Cloud Natural Language V2 Client - Class Type (0.34.1)

Reference documentation and code samples for the Cloud Natural Language V2 Client class Type.

The supported types of mentions.

Protobuf type google.cloud.language.v2.EntityMention.Type

Namespace

Google \ Cloud \ Language \ V2 \ EntityMention

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

TYPE_UNKNOWN

Value: 0

Unknown

Generated from protobuf enum TYPE_UNKNOWN = 0;

PROPER

Value: 1

Proper name

Generated from protobuf enum PROPER = 1;

COMMON

Value: 2

Common noun (or noun compound)

Generated from protobuf enum COMMON = 2;