Added sentiment analysis code.