Uses of Class
com.azure.ai.textanalytics.models.TextSentiment
Packages that use TextSentiment
Package
Description
Package containing the data models for MicrosoftCognitiveLanguageServiceTextAnalysis.
-
Uses of TextSentiment in com.azure.ai.textanalytics.models
Fields in com.azure.ai.textanalytics.models declared as TextSentimentModifier and TypeFieldDescriptionstatic final TextSentimentTextSentiment.MIXEDStatic value Mixed forTextSentiment.static final TextSentimentTextSentiment.NEGATIVEStatic value Negative forTextSentiment.static final TextSentimentTextSentiment.NEUTRALStatic value Neutral forTextSentiment.static final TextSentimentTextSentiment.POSITIVEStatic value Positive forTextSentiment.Methods in com.azure.ai.textanalytics.models that return TextSentimentModifier and TypeMethodDescriptionstatic TextSentimentTextSentiment.fromString(String name) Creates or finds aTextSentimentfrom 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.Methods in com.azure.ai.textanalytics.models that return types with arguments of type TextSentimentModifier and TypeMethodDescriptionstatic Collection<TextSentiment>TextSentiment.values()All known TextSentiment values.Constructors in com.azure.ai.textanalytics.models with parameters of type TextSentimentModifierConstructorDescriptionDocumentSentiment(TextSentiment sentiment, SentimentConfidenceScores confidenceScores, com.azure.core.util.IterableStream<SentenceSentiment> sentences, com.azure.core.util.IterableStream<TextAnalyticsWarning> warnings) Creates aDocumentSentimentmodel that describes the sentiment of the document.SentenceSentiment(String text, TextSentiment sentiment, SentimentConfidenceScores confidenceScores) Creates aSentenceSentimentmodel that describes the sentiment analysis of sentence.