Implement sentiment analysis for tweets