Class Token (2.0.0)

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

Represents the smallest syntactic building block of the text.

Attributes

NameDescription
text .language_service.TextSpan
The token text.
part_of_speech .language_service.PartOfSpeech
Parts of speech tag for this token.
dependency_edge .language_service.DependencyEdge
Dependency tree parse for this token.
lemma str
Lemma __ of the token.