                  deco_labels.append(labels[tokenid])
          return deco_labels
  
  
      def _get_smallest_nonproj_arc(self, heads):
          # return the smallest non-proj arc or None
          # where size is defined as the distance between dep and head
          # and ties are broken left to right
          smallest_size = float('inf')
          smallest_np_arc = None
 
</s> remove     def deprojectivize(self, heads, labels):
 </s> add     @classmethod
    def deprojectivize(cls, Doc tokens): </s> remove     def _lift(self, tokenid, heads):
 </s> add     @classmethod
    def _lift(cls, tokenid, heads): </s> remove         smallest_np_arc = self._get_smallest_nonproj_arc(proj_heads)
 </s> add         smallest_np_arc = cls._get_smallest_nonproj_arc(proj_heads) </s> remove             self._lift(smallest_np_arc, proj_heads)
            smallest_np_arc = self._get_smallest_nonproj_arc(proj_heads)
        deco_labels = self._decorate(heads, proj_heads, labels)
 </s> add             cls._lift(smallest_np_arc, proj_heads)
            smallest_np_arc = cls._get_smallest_nonproj_arc(proj_heads)
        deco_labels = cls._decorate(heads, proj_heads, labels) </s> remove import nonproj
 </s> add from .syntax import nonproj
    @classmethod
    def _get_smallest_nonproj_arc(cls, heads):
                  deco_labels.append(labels[tokenid])
          return deco_labels
  
  
    @classmethod
    def _get_smallest_nonproj_arc(cls, heads):
          # return the smallest non-proj arc or None
          # where size is defined as the distance between dep and head
          # and ties are broken left to right
          smallest_size = float('inf')
          smallest_np_arc = None
keep keep keep keep replace keep keep keep keep keep
 integrated pseudo-projective parsing into parser

- nonproj.pyx holds a class PseudoProjectivity which currently holds
  all functionality to implement Nivre & Nilsson 2005's pseudo-projective
  parsing using the HEAD decoration scheme
- changed lefts/rights in Token to account for possible non-projective
  structures 
spacy/syntax/nonproj.pyx