Analyzing the Mood of a Text