Text this: Discriminative training of hidden Markov Models for gesture recognition