Class PartOfSpeech

Represents part of speech information for a token.

Attributes
NameDescription
google.cloud.language_v1beta2.types.PartOfSpeech.Tagtag
The part of speech tag.
google.cloud.language_v1beta2.types.PartOfSpeech.Aspectaspect
The grammatical aspect.
google.cloud.language_v1beta2.types.PartOfSpeech.Casecase
The grammatical case.
google.cloud.language_v1beta2.types.PartOfSpeech.Formform
The grammatical form.
google.cloud.language_v1beta2.types.PartOfSpeech.Gendergender
The grammatical gender.
google.cloud.language_v1beta2.types.PartOfSpeech.Moodmood
The grammatical mood.
google.cloud.language_v1beta2.types.PartOfSpeech.Numbernumber
The grammatical number.
google.cloud.language_v1beta2.types.PartOfSpeech.Personperson
The grammatical person.
google.cloud.language_v1beta2.types.PartOfSpeech.Properproper
The grammatical properness.
google.cloud.language_v1beta2.types.PartOfSpeech.Reciprocityreciprocity
The grammatical reciprocity.
google.cloud.language_v1beta2.types.PartOfSpeech.Tensetense
The grammatical tense.
google.cloud.language_v1beta2.types.PartOfSpeech.Voicevoice
The grammatical voice.

Inheritance

builtins.object > proto.message.Message > PartOfSpeech

Classes

Aspect

Aspect(value)

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

Case

Case(value)

The grammatical function performed by a noun or pronoun in a phrase, clause, or sentence. In some languages, other parts of speech, such as adjective and determiner, take case inflection in agreement with the noun.

Form

Form(value)

Depending on the language, Form can be categorizing different forms of verbs, adjectives, adverbs, etc. For example, categorizing inflected endings of verbs and adjectives or distinguishing between short and long forms of adjectives and participles

Gender

Gender(value)

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

Mood

Mood(value)

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

Number

Number(value)

Count distinctions.

Person

Person(value)

The distinction between the speaker, second person, third person, etc.

Proper

Proper(value)

This category shows if the token is part of a proper name.

Reciprocity

Reciprocity(value)

Reciprocal features of a pronoun.

Tag

Tag(value)

The part of speech tags enum.

Tense

Tense(value)

Time reference.

Voice

Voice(value)

The relationship between the action that a verb expresses and the participants identified by its arguments.