Minimum error rate training