Class PartOfSpeech (2.0.0)

PartOfSpeech(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents part of speech information for a token.

Attributes

NameDescription
tag .language_service.PartOfSpeech.Tag
The part of speech tag.
aspect .language_service.PartOfSpeech.Aspect
The grammatical aspect.
case .language_service.PartOfSpeech.Case
The grammatical case.
form .language_service.PartOfSpeech.Form
The grammatical form.
gender .language_service.PartOfSpeech.Gender
The grammatical gender.
mood .language_service.PartOfSpeech.Mood
The grammatical mood.
number .language_service.PartOfSpeech.Number
The grammatical number.
person .language_service.PartOfSpeech.Person
The grammatical person.
proper .language_service.PartOfSpeech.Proper
The grammatical properness.
reciprocity .language_service.PartOfSpeech.Reciprocity
The grammatical reciprocity.
tense .language_service.PartOfSpeech.Tense
The grammatical tense.
voice .language_service.PartOfSpeech.Voice
The grammatical voice.

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.