Enum PartOfSpeech.Gender (2.3.4)

publicenumPartOfSpeech.GenderextendsEnum<PartOfSpeech.Gender>implementsProtocolMessageEnum

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

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
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

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.