          self._size = 100
  
          self.c = <Transition*>self.mem.alloc(self._size, sizeof(Transition))
  
          for action, label_strs in labels_by_action.items():
              for label_str in label_strs:
                  self.add_action(int(action), label_str)
          self.root_label = self.strings.add('ROOT')
          self.init_beam_state = _init_state
  
      def __reduce__(self):
          labels_by_action = OrderedDict()
 
</s> remove         labels_by_action = OrderedDict()
        cdef Transition t
        for trans in self.c[:self.n_moves]:
            label_str = self.strings[trans.label]
            labels_by_action.setdefault(trans.move, []).append(label_str)
        return (self.__class__,
                (self.strings, labels_by_action),
                None, None)
 </s> add         return (self.__class__, (self.strings, self.labels), None, None) </s> remove     def __init__(self, StringStore string_table, labels_by_action):
 </s> add     def __init__(self, StringStore string_table, labels_by_action=None, min_freq=None): </s> remove         if 'actions' in self.cfg:
            for action, labels in self.cfg.get('actions', {}).items():
                for label in labels:
                    self.moves.add_action(action, label)
 </s> add  </s> remove             # Check projectivity --- leading cause
            if is_nonproj_tree(gold.heads):
 </s> add             # Check label set --- leading cause
            label_set = set([self.strings[self.c[i].label] for i in range(self.n_moves)])
            for label_str in gold.labels:
                if label_str is not None and label_str not in label_set:
                    raise ValueError("Cannot get gold parser action: unknown label: %s" % label_str)
            # Check projectivity --- other leading cause
            if nonproj.is_nonproj_tree(gold.heads):
        self.labels = {}
        if labels_by_action:
            self.initialize_actions(labels_by_action, min_freq=min_freq)
          self._size = 100
  
          self.c = <Transition*>self.mem.alloc(self._size, sizeof(Transition))
  
        self.labels = {}
        if labels_by_action:
            self.initialize_actions(labels_by_action, min_freq=min_freq)
        self.labels = {}
        if labels_by_action:
            self.initialize_actions(labels_by_action, min_freq=min_freq)
        self.labels = {}
        if labels_by_action:
            self.initialize_actions(labels_by_action, min_freq=min_freq)
          self.root_label = self.strings.add('ROOT')
          self.init_beam_state = _init_state
  
      def __reduce__(self):
          labels_by_action = OrderedDict()
keep keep keep keep replace replace replace keep keep keep keep keep
 Revert "Merge branch 'develop' of https://github.com/explosion/spaCy into develop"

This reverts commit c9ba3d3c2dc7067cf8bd55f878cec45a8c6d73d4, reversing
changes made to 92c26a35d425d4e8ca1b805ea776ea10f5ded3df. 
spacy/syntax/transition_system.pyx