A Comparison of Lexicographical and Machine Learning Approaches to Sentiment Analysis