A sequence tagger based on an averaged perceptron model