sentence1: sentiment analysis is a natural language processing ( nlp ) task ( cite-p-10-1-14 ) which aims at classifying documents according to the opinion expressed about a given subject ( federici and dragoni , 2016a , b ) .
sentence2: sentiment analysis is the task of automatically identifying the valence or polarity of a piece of text .