          cycle = nonproj.contains_cycle(self.heads)
          if cycle is not None:
              raise Exception("Cycle found: %s" % cycle)
  
          if make_projective:
              proj_heads, _ = nonproj.projectivize(self.heads, self.labels)
              self.heads = proj_heads
  
      def __len__(self):
          """Get the number of gold-standard tokens.
  
          RETURNS (int): The number of gold-standard tokens.
          """
 
</s> remove     def pipe(self, stream, batch_size=1000, n_threads=2):
 </s> add     def pipe(self, stream, batch_size=1000, n_threads=2, return_matches=False,
             as_tuples=False): </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): </s> remove         abstract_patterns = []
        for length in range(1, max_length):
            abstract_patterns.append([{tag: True}
                                      for tag in get_bilou(length)])
 </s> add         abstract_patterns = [
            [{U_ENT: True}],
            [{B2_ENT: True}, {L2_ENT: True}],
            [{B3_ENT: True}, {I3_ENT: True}, {L3_ENT: True}],
            [{B4_ENT: True}, {I4_ENT: True}, {I4_ENT: True, "OP": "+"}, {L4_ENT: True}],
        ] </s> remove         self.train_path = util.ensure_path(train_path)
        self.dev_path = util.ensure_path(dev_path)
 </s> add 
          cycle = nonproj.contains_cycle(self.heads)
          if cycle is not None:
              raise Exception("Cycle found: %s" % cycle)
  




      def __len__(self):
          """Get the number of gold-standard tokens.
  
          RETURNS (int): The number of gold-standard tokens.
          """
keep keep keep keep replace 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/gold.pyx