Package | Description |
---|---|
com.google.api.services.language.v2.model |
Modifier and Type | Method and Description |
---|---|
Sentence |
Sentence.clone() |
Sentence |
Sentence.set(String fieldName,
Object value) |
Sentence |
Sentence.setSentiment(Sentiment 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.
|
Sentence |
Sentence.setText(TextSpan text)
The sentence text.
|
Modifier and Type | Method and Description |
---|---|
List<Sentence> |
AnnotateTextResponse.getSentences()
Sentences in the input document.
|
List<Sentence> |
AnalyzeSentimentResponse.getSentences()
The sentiment for all the sentences in the document.
|
Modifier and Type | Method and Description |
---|---|
AnnotateTextResponse |
AnnotateTextResponse.setSentences(List<Sentence> sentences)
Sentences in the input document.
|
AnalyzeSentimentResponse |
AnalyzeSentimentResponse.setSentences(List<Sentence> sentences)
The sentiment for all the sentences in the document.
|
Copyright © 2011–2025 Google. All rights reserved.