solving large scale linear prediction problems using stochastic gradient descent algorithms .
discriminative training methods for hidden markov models : theory and experiments with perceptron algorithms .