      np_label = doc.vocab.strings['NP']
      left_labels = ['det', 'fixed', 'neg'] #['nunmod', 'det', 'appos', 'fixed']
      right_labels = ['flat', 'fixed', 'compound', 'neg']
      stop_labels = ['punct']
      np_left_deps = [doc.vocab.strings[label] for label in left_labels]
      np_right_deps = [doc.vocab.strings[label] for label in right_labels]
      stop_deps = [doc.vocab.strings[label] for label in stop_labels]
      token = doc[0]
      while token and token.i < len(doc):
          if token.pos in [PROPN, NOUN, PRON]:
              left, right = noun_bounds(token)
              yield left.i, right.i+1, np_label
 
</s> remove     np_label = doc.vocab.strings['NP']
 </s> add     if not len(doc):
        return
    np_label = doc.vocab.strings.add('NP') </s> remove             left, right = noun_bounds(token)
 </s> add             left, right = noun_bounds(doc, token, np_left_deps, np_right_deps, stop_deps) </s> remove             left, right = noun_bounds(token)
 </s> add             left, right = noun_bounds(doc, token, np_left_deps, np_right_deps, stop_deps) </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
    np_left_deps = [doc.vocab.strings.add(label) for label in left_labels]
    np_right_deps = [doc.vocab.strings.add(label) for label in right_labels]
    stop_deps = [doc.vocab.strings.add(label) for label in stop_labels]
      np_label = doc.vocab.strings['NP']
      left_labels = ['det', 'fixed', 'neg'] #['nunmod', 'det', 'appos', 'fixed']
      right_labels = ['flat', 'fixed', 'compound', 'neg']
      stop_labels = ['punct']
    np_left_deps = [doc.vocab.strings.add(label) for label in left_labels]
    np_right_deps = [doc.vocab.strings.add(label) for label in right_labels]
    stop_deps = [doc.vocab.strings.add(label) for label in stop_labels]
    np_left_deps = [doc.vocab.strings.add(label) for label in left_labels]
    np_right_deps = [doc.vocab.strings.add(label) for label in right_labels]
    stop_deps = [doc.vocab.strings.add(label) for label in stop_labels]
    np_left_deps = [doc.vocab.strings.add(label) for label in left_labels]
    np_right_deps = [doc.vocab.strings.add(label) for label in right_labels]
    stop_deps = [doc.vocab.strings.add(label) for label in stop_labels]
      token = doc[0]
      while token and token.i < len(doc):
          if token.pos in [PROPN, NOUN, PRON]:
              left, right = noun_bounds(token)
              yield left.i, right.i+1, np_label
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/lang/es/syntax_iterators.py