Sentiment score defined as the difference between positive and negative word counts divided by the sum of positive and negative words.
Dictionary of type
Given the number of positive words P and the number of negative words N. Then, the sentiment ratio is defined as
. Here, it uses the entries
positiveWords of the
Sentiment score in the range of -1 to 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.