                  if not s.is_final()]
  
          backprops = []
          cdef float loss = 0.
          while todo:
              states, golds = zip(*todo)
  
              token_ids = self.get_token_ids(states)
              vector, bp_vector = state2vec.begin_update(token_ids, drop=drop)
              scores, bp_scores = vec2scores.begin_update(vector, drop=drop)
 
</s> remove         gold_docs = self.iter_gold_docs(nlp, self.train_tuples, gold_preproc)
 </s> add         if projectivize:
            train_tuples = nonproj.PseudoProjectivity.preprocess_training_data(
                               self.train_tuples)
        gold_docs = self.iter_gold_docs(nlp, train_tuples, gold_preproc) </s> remove         tuples = nonproj.PseudoProjectivity.preprocess_training_data(tuples)
 </s> add  </s> remove             gold.heads, gold.labels = PseudoProjectivity.projectivize(
                                        gold.heads, gold.labels)
 </s> add  </s> remove     def train_docs(self, nlp, shuffle=0, gold_preproc=True):
 </s> add     def train_docs(self, nlp, shuffle=0, gold_preproc=True,
                   projectivize=False): </s> remove def read_json_file(loc, docs_filter=None, limit=None):
 </s> add def read_json_file(loc, docs_filter=None, limit=1000):
        while len(todo) >= 3:
                  if not s.is_final()]
  
          backprops = []
          cdef float loss = 0.
        while len(todo) >= 3:
              states, golds = zip(*todo)
  
              token_ids = self.get_token_ids(states)
              vector, bp_vector = state2vec.begin_update(token_ids, drop=drop)
              scores, bp_scores = vec2scores.begin_update(vector, drop=drop)
keep keep keep keep replace keep keep keep keep keep
 Fix handling of non-projective deps 
spacy/syntax/nn_parser.pyx