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 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

      public String toString()
      Provides a string representation of the confidence scores.
      Overrides:
      toString in class Object
      Returns:
      A string that summarizes the confidence scores across all sentiment categories.