java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.natural_language_understanding.v1.model.EmotionScores
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class EmotionScores
extends com.ibm.cloud.sdk.core.service.model.GenericModel
EmotionScores.
  • Constructor Details

    • EmotionScores

      public EmotionScores()
  • Method Details

    • getAnger

      public Double getAnger()
      Gets the anger.

      Anger score from 0 to 1. A higher score means that the text is more likely to convey anger.

      Returns:
      the anger
    • getDisgust

      public Double getDisgust()
      Gets the disgust.

      Disgust score from 0 to 1. A higher score means that the text is more likely to convey disgust.

      Returns:
      the disgust
    • getFear

      public Double getFear()
      Gets the fear.

      Fear score from 0 to 1. A higher score means that the text is more likely to convey fear.

      Returns:
      the fear
    • getJoy

      public Double getJoy()
      Gets the joy.

      Joy score from 0 to 1. A higher score means that the text is more likely to convey joy.

      Returns:
      the joy
    • getSadness

      public Double getSadness()
      Gets the sadness.

      Sadness score from 0 to 1. A higher score means that the text is more likely to convey sadness.

      Returns:
      the sadness