Calculate the sentiment score of a sentence or tweet.