Enum PartOfSpeech.Gender (2.21.0)

public enum PartOfSpeech.Gender extends Enum<PartOfSpeech.Gender> implements ProtocolMessageEnum

Gender classes of nouns reflected in the behaviour of associated words.

Protobuf enum google.cloud.language.v1beta2.PartOfSpeech.Gender

Implements

ProtocolMessageEnum

Static Fields

NameDescription
FEMININE

Feminine

FEMININE = 1;

FEMININE_VALUE

Feminine

FEMININE = 1;

GENDER_UNKNOWN

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

GENDER_UNKNOWN = 0;

GENDER_UNKNOWN_VALUE

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

GENDER_UNKNOWN = 0;

MASCULINE

Masculine

MASCULINE = 2;

MASCULINE_VALUE

Masculine

MASCULINE = 2;

NEUTER

Neuter

NEUTER = 3;

NEUTER_VALUE

Neuter

NEUTER = 3;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()