Build a tool that analyzes the sentiment of text data, such as social media posts or product reviews.