Uses of Class
com.azure.ai.textanalytics.models.AnalyzeSentimentOptions
Package
Description
Package containing the classes for TextAnalyticsClient.
Package containing classes for TextAnalyticsClient.
-
Uses of AnalyzeSentimentOptions in com.azure.ai.textanalytics
Modifier and TypeMethodDescriptionTextAnalyticsAsyncClient.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.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.TextAnalyticsAsyncClient.analyzeSentimentBatch
(Iterable<String> documents, 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.TextAnalyticsClient.analyzeSentimentBatch
(Iterable<String> documents, 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.TextAnalyticsAsyncClient.analyzeSentimentBatchWithResponse
(Iterable<TextDocumentInput> documents, 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.TextAnalyticsClient.analyzeSentimentBatchWithResponse
(Iterable<TextDocumentInput> documents, AnalyzeSentimentOptions options, Context context) 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 AnalyzeSentimentOptions in com.azure.ai.textanalytics.models
Modifier and TypeMethodDescriptionAnalyzeSentimentOptions.setIncludeOpinionMining
(boolean includeOpinionMining) Sets the value ofincludeOpinionMining
.AnalyzeSentimentOptions.setIncludeStatistics
(boolean includeStatistics) Sets the value ofincludeStatistics
.AnalyzeSentimentOptions.setModelVersion
(String modelVersion) Sets the model version.AnalyzeSentimentOptions.setServiceLogsDisabled
(boolean disableServiceLogs) Sets the value of service logs disable status.