Sentiment analysis is the task of classifying the polarity of a given text.