Uses of Class
com.azure.ai.textanalytics.models.TextSentiment
Package
Description
Package containing classes for TextAnalyticsClient.
-
Uses of TextSentiment in com.azure.ai.textanalytics.models
Modifier and TypeFieldDescriptionstatic final TextSentiment
TextSentiment.MIXED
Static value Mixed forTextSentiment
.static final TextSentiment
TextSentiment.NEGATIVE
Static value Negative forTextSentiment
.static final TextSentiment
TextSentiment.NEUTRAL
Static value Neutral forTextSentiment
.static final TextSentiment
TextSentiment.POSITIVE
Static value Positive forTextSentiment
.Modifier and TypeMethodDescriptionstatic TextSentiment
TextSentiment.fromString
(String name) Creates or finds aTextSentiment
from its string representation.AssessmentSentiment.getSentiment()
Gets the opinion text sentiment label: POSITIVE, NEGATIVE, MIXED.DocumentSentiment.getSentiment()
Gets the text sentiment label: POSITIVE, NEGATIVE, NEUTRAL, or MIXED.SentenceSentiment.getSentiment()
Gets the text sentiment label: POSITIVE, NEGATIVE, or NEUTRAL.TargetSentiment.getSentiment()
Gets the target text sentiment label: POSITIVE, NEGATIVE, MIXED.ModifierConstructorDescriptionDocumentSentiment
(TextSentiment sentiment, SentimentConfidenceScores confidenceScores, IterableStream<SentenceSentiment> sentences, IterableStream<TextAnalyticsWarning> warnings) Creates aDocumentSentiment
model that describes the sentiment of the document.SentenceSentiment
(String text, TextSentiment sentiment, SentimentConfidenceScores confidenceScores) Creates aSentenceSentiment
model that describes the sentiment analysis of sentence.