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.

Apakah halaman ini membantu? Beri tahu kami pendapat Anda:

Kirim masukan tentang...

Cloud Natural Language API
Butuh bantuan? Kunjungi halaman dukungan kami.