Class Sentence (2.6.1)

Stay organized with collections Save and categorize content based on your preferences.
Sentence(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a sentence in the input document.

Attributes

NameDescription
text google.cloud.language_v1beta2.types.TextSpan
The sentence text.
sentiment google.cloud.language_v1beta2.types.Sentiment
For calls to [AnalyzeSentiment][] or if AnnotateTextRequest.Features.extract_document_sentiment is set to true, this field will contain the sentiment for the sentence.

Inheritance

builtins.object > proto.message.Message > Sentence