Analyse response

Now, click on Send and we should see something like this in Postman:

As we can see from the preceding response, we have got the document sentiment with a magnitude of 0.9 and a score of 0.9. This is how we interpret the score and magnitude: Score is a value between −1.0 to +1.0, where −1.0 indicates a negative emotion and +1.0 indicates a positive emotion. 0.9 is closer to +1.0, which indicates that the overall document sentiment is positive, which is a given considering what the text is.

Magnitude indicates the overall strength of the emotion. It ranges from 0 to +infinity. Magnitude is affected by both positive and negative emotions in a text and longer sentences have greater magnitude. Apart from that, we have the sentiment analysis of each sentence in the text we are analysing. You can read more about interpreting sentiment analysis here: https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values. We are now going to explore entity analysis.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.62.168