Package com.chatmotorapi.api.functional
Class MotorSentiment.ConfidenceScores
java.lang.Object
com.chatmotorapi.api.functional.MotorSentiment.ConfidenceScores
- Enclosing class:
- MotorSentiment
public static class MotorSentiment.ConfidenceScores extends Object
Inner class to encapsulate confidence scores for various sentiment categories.
Includes scores for positive, negative, and neutral sentiments.
-
Constructor Summary
Constructors Constructor Description ConfidenceScores()
-
Method Summary
Modifier and Type Method Description int
getNeutral()
Retrieves the confidence score for neutral sentiment.int
getPositive()
Retrieves the confidence score for positive sentiment.String
toString()
Provides a string representation of the confidence scores.
-
Constructor Details
-
ConfidenceScores
public ConfidenceScores()
-
-
Method Details
-
getPositive
public int getPositive()Retrieves the confidence score for positive sentiment.- Returns:
- The positive score as an integer.
-
getNeutral
public int getNeutral()Retrieves the confidence score for neutral sentiment.- Returns:
- The neutral score as an integer.
-
toString
Provides a string representation of the confidence scores.
-