public final class SentimentConfidenceScores extends Object
SentimentConfidenceScores
modelConstructor and Description |
---|
SentimentConfidenceScores(double negativeScore,
double neutralScore,
double positiveScore)
Creates a
SentimentConfidenceScores model that describes the sentiment score of the sentiment label. |
Modifier and Type | Method and Description |
---|---|
double |
getNegative()
The negative score value, range in between 0 and 1.0.
|
double |
getNeutral()
The neutral score value, range in between 0 and 1.0.
|
double |
getPositive()
The positive score value, range in between 0 and 1.0.
|
public SentimentConfidenceScores(double negativeScore, double neutralScore, double positiveScore)
SentimentConfidenceScores
model that describes the sentiment score of the sentiment label.negativeScore
- The negative score value, range in between 0 and 1.0.neutralScore
- The neutral score value, range in between 0 and 1.0.positiveScore
- The positive score value, range in between 0 and 1.0.public double getNegative()
public double getNeutral()
public double getPositive()
Copyright © 2021 Microsoft Corporation. All rights reserved.