PartOfSpeech(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Represents part of speech information for a token. Parts of speech are as defined in http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf
Attributes
Name | Description |
tag |
google.cloud.language_v1.types.PartOfSpeech.Tag
The part of speech tag. |
aspect |
google.cloud.language_v1.types.PartOfSpeech.Aspect
The grammatical aspect. |
case |
google.cloud.language_v1.types.PartOfSpeech.Case
The grammatical case. |
form |
google.cloud.language_v1.types.PartOfSpeech.Form
The grammatical form. |
gender |
google.cloud.language_v1.types.PartOfSpeech.Gender
The grammatical gender. |
mood |
google.cloud.language_v1.types.PartOfSpeech.Mood
The grammatical mood. |
number |
google.cloud.language_v1.types.PartOfSpeech.Number
The grammatical number. |
person |
google.cloud.language_v1.types.PartOfSpeech.Person
The grammatical person. |
proper |
google.cloud.language_v1.types.PartOfSpeech.Proper
The grammatical properness. |
reciprocity |
google.cloud.language_v1.types.PartOfSpeech.Reciprocity
The grammatical reciprocity. |
tense |
google.cloud.language_v1.types.PartOfSpeech.Tense
The grammatical tense. |
voice |
google.cloud.language_v1.types.PartOfSpeech.Voice
The grammatical voice. |
Inheritance
builtins.object > proto.message.Message > PartOfSpeechClasses
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.