      root
      xcomp
  
      acl
      LAW
      LANG
 
</s> remove def noun_bounds(root):
 </s> add def noun_bounds(doc, root, np_left_deps, np_right_deps, stop_deps): </s> remove from ..gold import GoldCorpus, minibatch
from ..util import prints
 </s> add from ..gold import GoldCorpus
from ..util import prints, minibatch, minibatch_by_words </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     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 </s> remove         +card("Practical Machine Learning with Python", "", "Dipanjan Sarkar et al. (Apress, 2017)", "book")
            |  A Problem-Solver's Guide to Building Real-World Intelligent Systems

 </s> add 
      root
      xcomp
  
      acl


keep keep keep keep replace replace
 Revert "Merge branch 'develop' of https://github.com/explosion/spaCy into develop"

This reverts commit c9ba3d3c2dc7067cf8bd55f878cec45a8c6d73d4, reversing
changes made to 92c26a35d425d4e8ca1b805ea776ea10f5ded3df. 
spacy/symbols.pxd