| Package | Description |
|---|---|
| com.google.api.services.language.v2 | |
| com.google.api.services.language.v2.model |
| Modifier and Type | Method and Description |
|---|---|
CloudNaturalLanguage.Documents.AnalyzeSentiment |
CloudNaturalLanguage.Documents.analyzeSentiment(AnalyzeSentimentRequest content)
Analyzes the sentiment of the provided text.
|
| Constructor and Description |
|---|
AnalyzeSentiment(AnalyzeSentimentRequest content)
Analyzes the sentiment of the provided text.
|
| Modifier and Type | Method and Description |
|---|---|
AnalyzeSentimentRequest |
AnalyzeSentimentRequest.clone() |
AnalyzeSentimentRequest |
AnalyzeSentimentRequest.set(String fieldName,
Object value) |
AnalyzeSentimentRequest |
AnalyzeSentimentRequest.setDocument(Document document)
Required.
|
AnalyzeSentimentRequest |
AnalyzeSentimentRequest.setEncodingType(String encodingType)
The encoding type used by the API to calculate sentence offsets.
|
Copyright © 2011–2025 Google. All rights reserved.