          return 0
  
  
  cdef class ArcEager(TransitionSystem):
      @classmethod
      def get_labels(cls, gold_parses):
          move_labels = {SHIFT: {'': True}, REDUCE: {'': True}, RIGHT: {'root': True},
 
</s> remove         move_labels = {SHIFT: {'': True}, REDUCE: {'': True}, RIGHT: {},
                       LEFT: {'ROOT': True}, BREAK: {'ROOT': True}}
 </s> add         move_labels = {SHIFT: {'': True}, REDUCE: {'': True}, RIGHT: {'root': True},
                       LEFT: {'root': True}, BREAK: {'root': True}} </s> remove                     if label != 'ROOT':
 </s> add                     if label != 'root': </s> remove     cdef void set_break(self, int i) nogil:
        if 0 <= i < self.length:
            self._sent[i].sent_end = True
            self._break = i
 </s> add     cdef void set_break(self, int _) nogil:
        self._sent[self.B(0)].sent_end = True
        self._break = self._b_i
cdef int _get_root(int word, const GoldParseC* gold) nogil:
    while gold.heads[word] != word and gold.labels[word] != -1 and word >= 0:
        word = gold.heads[word]
    if gold.labels[word] == -1:
        return -1
    else:
        return word
        
          return 0
  
cdef int _get_root(int word, const GoldParseC* gold) nogil:
    while gold.heads[word] != word and gold.labels[word] != -1 and word >= 0:
        word = gold.heads[word]
    if gold.labels[word] == -1:
        return -1
    else:
        return word
        
  
  cdef class ArcEager(TransitionSystem):
      @classmethod
      def get_labels(cls, gold_parses):
          move_labels = {SHIFT: {'': True}, REDUCE: {'': True}, RIGHT: {'root': True},
keep add keep keep keep keep keep
 * Fixes to unshift/fast-forward strategy. Getting 91.55 greedy on NW dev, gold preproc 
spacy/syntax/arc_eager.pyx