Enum PartOfSpeech.Aspect (2.65.0)

publicenumPartOfSpeech.AspectextendsEnum<PartOfSpeech.Aspect>implementsProtocolMessageEnum

The characteristic of a verb that expresses time flow during an event.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
ASPECT_UNKNOWN

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

ASPECT_UNKNOWN = 0;

ASPECT_UNKNOWN_VALUE

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

ASPECT_UNKNOWN = 0;

IMPERFECTIVE

Imperfective

IMPERFECTIVE = 2;

IMPERFECTIVE_VALUE

Imperfective

IMPERFECTIVE = 2;

PERFECTIVE

Perfective

PERFECTIVE = 1;

PERFECTIVE_VALUE

Perfective

PERFECTIVE = 1;

PROGRESSIVE

Progressive

PROGRESSIVE = 3;

PROGRESSIVE_VALUE

Progressive

PROGRESSIVE = 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.