Uses of Class
com.azure.ai.textanalytics.models.DocumentSentiment
Package
Description
Package containing the classes for TextAnalyticsClient.
Package containing classes for TextAnalyticsClient.
-
Uses of DocumentSentiment in com.azure.ai.textanalytics
Modifier and TypeMethodDescriptionTextAnalyticsClient.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.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.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 TypeMethodDescriptionTextAnalyticsAsyncClient.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.TextAnalyticsAsyncClient.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.TextAnalyticsAsyncClient.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. -
Uses of DocumentSentiment in com.azure.ai.textanalytics.models
Modifier and TypeMethodDescriptionAnalyzeSentimentResult.getDocumentSentiment()
Gets the document sentiment.ModifierConstructorDescriptionAnalyzeSentimentResult
(String id, TextDocumentStatistics textDocumentStatistics, TextAnalyticsError error, DocumentSentiment documentSentiment) Creates aAnalyzeSentimentResult
model that describes analyzed sentiment result.