                  best = self.c[i]
                  score = scores[i]
          assert best.clas < self.n_moves
          assert score > MIN_SCORE, (stcls.stack_depth(), stcls.buffer_length(), stcls.is_final(), stcls._b_i, stcls.length)
          # Label Shift moves with the best Right-Arc label, for non-monotonic
          # actions
          if best.move == SHIFT:
              score = MIN_SCORE
              for i in range(self.n_moves):
                  if self.c[i].move == RIGHT and scores[i] > score:
                      best.label = self.c[i].label
                      score = scores[i]
          return best
 
</s> remove         cdef int root_label = self.strings['ROOT']
 </s> add         cdef int root_label = self.strings['root'] </s> remove     elif _is_gold_root(gold, head) and _is_gold_root(gold, child):
 </s> add     elif USE_ROOT_ARC_SEGMENT and _is_gold_root(gold, head) and _is_gold_root(gold, child):
                  best = self.c[i]
                  score = scores[i]
          assert best.clas < self.n_moves
          assert score > MIN_SCORE, (stcls.stack_depth(), stcls.buffer_length(), stcls.is_final(), stcls._b_i, stcls.length)








          return best
keep keep keep keep replace replace replace replace replace replace replace replace keep
 * Add flag to toggle handling of multi-root inputs without the Break transition. Clear up now unused best_valid stuff. 
spacy/syntax/arc_eager.pyx