public interface SentimentResult
SentimentResult
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Dedicated Builder
  • Method Summary

    Modifier and Type
    Method
    Description
    Getting builder
    The likelihood that the assigned sentiment represents the emotional context of the analyzed text.
    Get sentiment
  • Method Details

    • getSentiment

      Sentiment getSentiment()
      Get sentiment
      Returns:
      sentiment
    • getScore

      Float getScore()
      The likelihood that the assigned sentiment represents the emotional context of the analyzed text. 1 is the maximum value, representing the highest likelihood that the message text matches the sentiment, and 0 is the minimum value, representing the lowest likelihood that the message text matches the sentiment.
      Returns:
      score
    • builder

      static SentimentResult.Builder builder()
      Getting builder
      Returns:
      New Builder instance