Discriminative training methods for hidden Markov models | Synapse