Sentence

Represents a sentence in the input document.

JSON representation
{ "text": { object (TextSpan) }, "sentiment": { object (Sentiment) } }
Fields
text

object (TextSpan)

The sentence text.

sentiment

object (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.