We exploit the potential of the Conditional Random Fields 5 algorithm (Lafferty et al., 2001) to encode prior and posterior contextual information of a given element in a sequence (in our case, a word in a sentence).
we consider a context window of [-2,2].