          self.W = <weight_t*>self.mem.alloc(self.nr_weight * self.nr_class,
                                             sizeof(weight_t))
          self.d_W = <weight_t*>self.mem.alloc(self.nr_weight * self.nr_class,
                                             sizeof(weight_t))
          self._indices = new vector[uint64_t]()
  
      def __dealloc__(self):
          del self._indices
  
      cdef void hinge_lossC(self, weight_t* d_scores,
              const weight_t* scores, const weight_t* costs) nogil:
          guess = 0
          best = -1
 
</s> remove         self.d_W = <weight_t*>self.mem.alloc(self.nr_weight * self.nr_class,
 </s> add         self.mom = <weight_t*>self.mem.alloc(self.nr_weight * self.nr_class,
                                           sizeof(weight_t))
        self.averages = <weight_t*>self.mem.alloc(self.nr_weight * self.nr_class,
                                           sizeof(weight_t))
        self.last_upd = <weight_t*>self.mem.alloc(self.nr_weight * self.nr_class, </s> remove     cdef weight_t* d_W
    cdef vector[uint64_t]* _indices
 </s> add     cdef weight_t* mom
    cdef weight_t* averages
    cdef weight_t* last_upd </s> remove             W = &self.W[idx * nr_class]
 </s> add             W = &self.W[idx]
          self.W = <weight_t*>self.mem.alloc(self.nr_weight * self.nr_class,
                                             sizeof(weight_t))
          self.d_W = <weight_t*>self.mem.alloc(self.nr_weight * self.nr_class,
                                             sizeof(weight_t))




  
      cdef void hinge_lossC(self, weight_t* d_scores,
              const weight_t* scores, const weight_t* costs) nogil:
          guess = 0
          best = -1
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Play with hash kernel class 
spacy/_ml.pyx