7, selects a following transition, and updates the configuration.
at each step, we use a hinge loss defined as: where Y is the set of possible transitions and Y + is the set of correct transitions at the current step.