Class DocumentEmotionResults

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

public class DocumentEmotionResults
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Emotion results for the document as a whole.
  • Constructor Details

    • DocumentEmotionResults

      public DocumentEmotionResults()
  • Method Details

    • getEmotion

      public EmotionScores getEmotion()
      Gets the emotion.

      Emotion results for the document as a whole.

      Returns:
      the emotion