  cdef class NERParser:
      cdef Pool mem
      cdef Extractor extractor
      cdef LinearModel model
  
      cdef Move* _moves
      cdef atom_t* _context
      cdef feat_t* _feats
      cdef weight_t* _values
      cdef weight_t* _scores
 
</s> remove     cpdef int train(self, Tokens tokens, golds)
 </s> add     cpdef int train(self, Tokens tokens, golds) except -1 </s> remove     cpdef int train(self, Tokens tokens, gold_classes):
 </s> add     cpdef int train(self, Tokens tokens, gold_classes) except -1: </s> remove         for i, clas in enumerate(gold_classes):
            golds[i] = self.moves[clas - 1]
            assert golds[i].id == clas
 </s> add         for tok_i, clas in enumerate(gold_classes):
            golds[tok_i] = self._moves[clas]
            assert golds[tok_i].clas == clas, '%d vs %d' % (golds[tok_i].clas, clas) </s> remove     cdef weight_t score = scores[first_accept]
 </s> add     cdef weight_t score = scores[first_accept-1]
    cdef readonly list tag_names
    cdef readonly int n_classes
  cdef class NERParser:
      cdef Pool mem
      cdef Extractor extractor
      cdef LinearModel model
    cdef readonly list tag_names
    cdef readonly int n_classes
  
      cdef Move* _moves
      cdef atom_t* _context
      cdef feat_t* _feats
      cdef weight_t* _values
      cdef weight_t* _scores
keep keep keep add keep keep keep keep keep keep
 * Fixed greedy NER parsing. With static oracle, replicates accuracy from tagger. 
spacy/ner/greedy_parser.pxd