              if label.upper() != 'ROOT':
                  actions[LEFT][label] = True
          for label in kwargs.get('right_labels', []):
              if label.upper() != 'ROOT':
                  actions[RIGHT][label] = True
  
          for raw_text, sents in kwargs.get('gold_parses', []):
              for (ids, words, tags, heads, labels, iob), ctnts in sents:
                  for child, head, label in zip(ids, heads, labels):
                      if label.upper() == 'ROOT':
 
</s> remove                 actions[LEFT][label] = True
 </s> add                 if (LEFT, label) not in seen_actions:
                    actions[LEFT].append(label) </s> remove                 actions[action][entity_type] = True
 </s> add                 actions[action].append(entity_type) </s> remove                         SHIFT: {'': True},
                        REDUCE: {'': True},
                        RIGHT: {},
                        LEFT: {},
                        BREAK: {'ROOT': True}})
 </s> add                         SHIFT: [''],
                        REDUCE: [''],
                        RIGHT: [],
                        LEFT: [],
                        BREAK: ['ROOT']})
        seen_actions = set() </s> remove                             actions[RIGHT][label] = True
 </s> add                             if (RIGHT, label) not in seen_actions:
                                actions[RIGHT].append(label)
                if (RIGHT, label) not in seen_actions:
                    actions[RIGHT].append(label)
              if label.upper() != 'ROOT':
                  actions[LEFT][label] = True
          for label in kwargs.get('right_labels', []):
              if label.upper() != 'ROOT':
                if (RIGHT, label) not in seen_actions:
                    actions[RIGHT].append(label)
  
          for raw_text, sents in kwargs.get('gold_parses', []):
              for (ids, words, tags, heads, labels, iob), ctnts in sents:
                  for child, head, label in zip(ids, heads, labels):
                      if label.upper() == 'ROOT':
keep keep keep keep replace keep 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/arc_eager.pyx