Package | Description |
---|---|
com.azure.ai.textanalytics |
Package containing the classes for TextAnalyticsClient.
|
com.azure.ai.textanalytics.models |
Package containing classes for TextAnalyticsClient.
|
Modifier and Type | Method and Description |
---|---|
DocumentSentiment |
TextAnalyticsClient.analyzeSentiment(String document)
Returns a sentiment prediction, as well as confidence scores for each sentiment label
(Positive, Negative, and Neutral) for the document and each sentence within it.
|
DocumentSentiment |
TextAnalyticsClient.analyzeSentiment(String document,
String language)
Returns a sentiment prediction, as well as confidence scores for each sentiment label
(Positive, Negative, and Neutral) for the document and each sentence within it.
|
DocumentSentiment |
TextAnalyticsClient.analyzeSentiment(String document,
String language,
AnalyzeSentimentOptions options)
Returns a sentiment prediction, as well as confidence scores for each sentiment label (Positive, Negative, and
Neutral) for the document and each sentence within it.
|
Modifier and Type | Method and Description |
---|---|
DocumentSentiment |
AnalyzeSentimentResult.getDocumentSentiment()
Get the document sentiment.
|
Constructor and Description |
---|
AnalyzeSentimentResult(String id,
TextDocumentStatistics textDocumentStatistics,
TextAnalyticsError error,
DocumentSentiment documentSentiment)
Creates a
AnalyzeSentimentResult model that describes analyzed sentiment result. |
Copyright © 2021 Microsoft Corporation. All rights reserved.