Analyzing the sentiment of a sentence