          # Doesn't set label into serializer -- subclasses override it to do that.
          for action in self.moves.action_types:
              self.moves.add_action(action, label)
  
  
  cdef class StepwiseState:
      cdef readonly StateClass stcls
 
</s> remove         # Super hacky :(
 </s> add  </s> remove         # Super hacky :(
 </s> add  </s> remove         for action in self.moves.action_types:
            self.moves.add_action(action, label)
            if 'actions' in self.cfg:
                self.cfg['actions'].setdefault(action,
                                        {}).setdefault(label, True)
 </s> add         Parser.add_label(self, label) </s> remove         for action in self.moves.action_types:
            self.moves.add_action(action, label)
            if 'actions' in self.cfg:
                self.cfg['actions'].setdefault(action,
                                        {}).setdefault(label, True)
 </s> add         Parser.add_label(self, label) </s> remove         for action in self.moves.action_types:
            self.moves.add_action(action, label)
            if 'actions' in self.cfg:
                self.cfg['actions'].setdefault(action,
                                        {}).setdefault(label, True)
 </s> add         Parser.add_label(self, label)
            if 'actions' in self.cfg:
                # Important that the labels be stored as a list! We need the
                # order, or the model goes out of synch
                self.cfg['actions'].setdefault(str(action), []).append(label)
          # Doesn't set label into serializer -- subclasses override it to do that.
          for action in self.moves.action_types:
              self.moves.add_action(action, label)
            if 'actions' in self.cfg:
                # Important that the labels be stored as a list! We need the
                # order, or the model goes out of synch
                self.cfg['actions'].setdefault(str(action), []).append(label)
  
  
  cdef class StepwiseState:
      cdef readonly StateClass stcls
keep keep add keep keep keep keep
 WIP on add_label bug during NER training

Currently when a new label is introduced to NER during training,
it causes the labels to be read in in an unexpected order. This
invalidates the model. 
spacy/syntax/parser.pyx