      def get_class_name(self, int clas):
          act = self.c[clas]
          return self.move_name(act.move, act.label)
  
      def add_action(self, int action, label_name):
          cdef attr_t label_id
          if not isinstance(label_name, int) and \
             not isinstance(label_name, long):
 
</s> remove     def add_action(self, int action, label_name):
 </s> add     def add_action(self, int action, label_name, freq=None): </s> remove         vectors = <float*>calloc(nr_hidden * nr_piece, sizeof(float))
        scores = <float*>calloc(nr_class, sizeof(float))
 </s> add         vectors = <float*>calloc(nr_hidden * nr_task, sizeof(float))
        unmaxed = <float*>calloc(nr_hidden * nr_piece, sizeof(float))
        scores = <float*>calloc(nr_class*nr_task, sizeof(float)) </s> remove     assert id_attr.attr == ID
 </s> add  </s> remove             docs, cuda_stream, 0.0)
 </s> add             docs, cuda_stream, drop)
    def initialize_actions(self, labels_by_action, min_freq=None):
        self.labels = {}
        self.n_moves = 0
        for action, label_freqs in sorted(labels_by_action.items()):
            action = int(action)
            # Make sure we take a copy here, and that we get a Counter
            self.labels[action] = Counter()
            # Have to be careful here: Sorting must be stable, or our model
            # won't be read back in correctly. 
            sorted_labels = [(f, L) for L, f in label_freqs.items()]
            sorted_labels.sort()
            sorted_labels.reverse()
            for freq, label_str in sorted_labels:
                self.add_action(int(action), label_str)
                self.labels[action][label_str] = freq 

      def get_class_name(self, int clas):
          act = self.c[clas]
          return self.move_name(act.move, act.label)
  
    def initialize_actions(self, labels_by_action, min_freq=None):
        self.labels = {}
        self.n_moves = 0
        for action, label_freqs in sorted(labels_by_action.items()):
            action = int(action)
            # Make sure we take a copy here, and that we get a Counter
            self.labels[action] = Counter()
            # Have to be careful here: Sorting must be stable, or our model
            # won't be read back in correctly. 
            sorted_labels = [(f, L) for L, f in label_freqs.items()]
            sorted_labels.sort()
            sorted_labels.reverse()
            for freq, label_str in sorted_labels:
                self.add_action(int(action), label_str)
                self.labels[action][label_str] = freq 

      def add_action(self, int action, label_name):
          cdef attr_t label_id
          if not isinstance(label_name, int) and \
             not isinstance(label_name, long):
keep keep keep add 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