Global linear model for named-entity recognition using the perceptron algorithm.