Reference documentation and code samples for the Cloud Natural Language V1 Client class Number.
Count distinctions.
Protobuf type google.cloud.language.v1.PartOfSpeech.Number
Namespace
Google \ Cloud \ Language \ V1 \ PartOfSpeechMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
NUMBER_UNKNOWN
Value: 0
Number is not applicable in the analyzed language or is not predicted.
Generated from protobuf enum NUMBER_UNKNOWN = 0;
SINGULAR
Value: 1
Singular
Generated from protobuf enum SINGULAR = 1;
PLURAL
Value: 2
Plural
Generated from protobuf enum PLURAL = 2;
DUAL
Value: 3
Dual
Generated from protobuf enum DUAL = 3;