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

Var denne siden nyttig? Si fra hva du synes:

Send tilbakemelding om ...

Cloud Natural Language API
Trenger du hjelp? Gå til brukerstøttesiden vår.