The latter assigns a label sequence to a sentence (a sequence of tokens) thus it naturally deals with the context of a particular word.
context information for a token is built into the feature space of the token classification approaches.