| Package | Description |
|---|---|
| com.azure.ai.textanalytics.models |
Package containing classes for TextAnalyticsClient.
|
| Modifier and Type | Method and Description |
|---|---|
SentimentConfidenceScores |
AssessmentSentiment.getConfidenceScores()
Gets the confidence score of the sentiment label.
|
SentimentConfidenceScores |
TargetSentiment.getConfidenceScores()
Gets the confidence score of the sentiment label.
|
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.
|
| 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. |
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.