Sentiment Analysis

Sentiment Analysis BETA#


This is a Beta API - Undergoing further development. If you have any suggestions, idea or questions about this API please reach us at

Sentiment analysis is the interpretation of the general thought, feeling, or sense of an object or a situation.

Sentiment Analysis works over sentence and topic(aspect) level. For topic level, the sentiment is a calculate over the topic messages scope i.e. it factors in the sentiment of messages where the topic was talked about.

Response object#

polarityshow the intensity of the sentiment. It ranges from -1.0 to 1.0, where -1.0 is the most negative sentiment and 1.0 is the most positive sentiment.
suggesteddisplay suggested sentiment type (negative, neutral and positive).

Suggested sentiment#


We have chosen the below polarity ranges wrt sentiment type which covers a wide range of conversations. Polarity Sentiment may vary for your use case. We recommend that you define a threshold that works for you, and then adjust the threshold after testing and verifying the results.

polaritySuggested Sentiment
-1.0 => x > -0.3negative
0.3 => x <= 0.3neutral
0.3 < x <= 1.0positive