Package | Description |
---|---|
com.azure.ai.textanalytics.models |
Package containing classes for TextAnalyticsClient.
|
Modifier and Type | Method and Description |
---|---|
SentimentConfidenceScores |
SentenceSentiment.getConfidenceScores()
Gets the confidence score of the sentiment label.
|
SentimentConfidenceScores |
DocumentSentiment.getConfidenceScores()
Gets the sentiment confidence score (Softmax score) between 0 and 1, for each sentiment label.
|
SentimentConfidenceScores |
TargetSentiment.getConfidenceScores()
Gets the confidence score of the sentiment label.
|
SentimentConfidenceScores |
AssessmentSentiment.getConfidenceScores()
Gets the confidence score of the sentiment label.
|
Constructor and Description |
---|
DocumentSentiment(TextSentiment sentiment,
SentimentConfidenceScores confidenceScores,
com.azure.core.util.IterableStream<SentenceSentiment> sentences,
com.azure.core.util.IterableStream<TextAnalyticsWarning> warnings)
Creates a
DocumentSentiment model that describes the sentiment of the document. |
SentenceSentiment(String text,
TextSentiment sentiment,
SentimentConfidenceScores confidenceScores)
Creates a
SentenceSentiment model that describes the sentiment analysis of sentence. |
Copyright © 2021 Microsoft Corporation. All rights reserved.