sentence1: sentiment analysis is a nlp task that deals with extraction of opinion from a piece of text on a topic .
sentence2: sentiment analysis is the task of identifying positive and negative opinions , sentiments , emotions and attitudes expressed in text .