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 AnalyzeSentimentRequest or if AnnotateTextRequest.Features.extract_document_sentiment is set to true, this field will contain the sentiment for the sentence.

Create a Mobile Website
View Site in Mobile | Classic
Share by: