Cloud Natural Language V1 Client - Class Mood (0.31.2)

Reference documentation and code samples for the Cloud Natural Language V1 Client class Mood.

The grammatical feature of verbs, used for showing modality and attitude.

Protobuf type google.cloud.language.v1.PartOfSpeech.Mood

Namespace

Google \ Cloud \ Language \ V1 \ PartOfSpeech

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

MOOD_UNKNOWN

Value: 0

Mood is not applicable in the analyzed language or is not predicted.

Generated from protobuf enum MOOD_UNKNOWN = 0;

CONDITIONAL_MOOD

Value: 1

Conditional

Generated from protobuf enum CONDITIONAL_MOOD = 1;

IMPERATIVE

Value: 2

Imperative

Generated from protobuf enum IMPERATIVE = 2;

INDICATIVE

Value: 3

Indicative

Generated from protobuf enum INDICATIVE = 3;

INTERROGATIVE

Value: 4

Interrogative

Generated from protobuf enum INTERROGATIVE = 4;

JUSSIVE

Value: 5

Jussive

Generated from protobuf enum JUSSIVE = 5;

SUBJUNCTIVE

Value: 6

Subjunctive

Generated from protobuf enum SUBJUNCTIVE = 6;