Class FeatureSentimentResults

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

public class FeatureSentimentResults
extends com.ibm.cloud.sdk.core.service.model.GenericModel
FeatureSentimentResults.
  • Constructor Summary

    Constructors
    Constructor Description
    FeatureSentimentResults()  
  • Method Summary

    Modifier and Type Method Description
    Double getScore()
    Gets the score.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • FeatureSentimentResults

      public FeatureSentimentResults()
  • Method Details

    • getScore

      public Double getScore()
      Gets the score.

      Sentiment score from -1 (negative) to 1 (positive).

      Returns:
      the score