Implement sentiment analysis