sentence1: stance detection is the task of classifying the attitude previous work has assumed that either the target is mentioned in the text or that training data for every target is given .
sentence2: stance detection has been defined as automatically detecting whether the author of a piece of text is in favor of the given target or against it .