              (OUT, [''])
          )))
          seen_entities = set()
          for entity_type in kwargs.get('entity_types', []):
              if entity_type in seen_entities:
                  continue
              seen_entities.add(entity_type)
              for action in (BEGIN, IN, LAST, UNIT):
                  actions[action].append(entity_type)
          moves = ('M', 'B', 'I', 'L', 'U')
          for raw_text, sents in kwargs.get('gold_parses', []):
              for (ids, words, tags, heads, labels, biluo), _ in sents:
 
</s> remove                 actions[action].append(entity_type)
 </s> add                 actions[action][entity_type] = 1 </s> remove         actions = kwargs.get('actions', OrderedDict((
            (MISSING, ['']),
            (BEGIN, []),
            (IN, []),
            (LAST, []),
            (UNIT, []),
            (OUT, [''])
        )))
        seen_entities = set()
 </s> add         actions = {
            MISSING: Counter(),
            BEGIN: Counter(),
            IN: Counter(),
            LAST: Counter(),
            UNIT: Counter(),
            OUT: Counter()
        }
        actions[OUT][''] = 1 </s> remove                         if label not in seen_entities:
                            seen_entities.add(label)
                            for move_str in ('B', 'I', 'L', 'U'):
                                actions[moves.index(move_str)].append(label)
 </s> add                         for action in (BEGIN, IN, LAST, UNIT):
                            actions[action][label] += 1 </s> remove             filtered_labels = [decompose(label)[0]
                               if freqs.get(label, cutoff) < cutoff
                               else label for label in labels]
 </s> add             filtered_labels = []
            for label in labels:
                if is_decorated(label) and freqs.get(label, 0) < cutoff:
                    filtered_labels.append(decompose(label)[0])
                else:
                    filtered_labels.append(label) </s> remove     return label.find(DELIMITER) != -1
 </s> add     return DELIMITER in label

def count_decorated_labels(gold_tuples):
    freqs = {}
    for raw_text, sents in gold_tuples:
        for (ids, words, tags, heads, labels, iob), ctnts in sents:
            proj_heads, deco_labels = projectivize(heads, labels)
            # set the label to ROOT for each root dependent
            deco_labels = ['ROOT' if head == i else deco_labels[i]
                           for i, head in enumerate(proj_heads)]
            # count label frequencies
            for label in deco_labels:
                if is_decorated(label):
                    freqs[label] = freqs.get(label, 0) + 1
    return freqs
              (OUT, [''])
          )))
          seen_entities = set()
          for entity_type in kwargs.get('entity_types', []):



              for action in (BEGIN, IN, LAST, UNIT):
                  actions[action].append(entity_type)
          moves = ('M', 'B', 'I', 'L', 'U')
          for raw_text, sents in kwargs.get('gold_parses', []):
              for (ids, words, tags, heads, labels, biluo), _ in sents:
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/ner.pyx