A constrained joint optimization method for large margin HMM estimation | Synapse