      def __len__(self):
          return self.v.size()
  
      def append(self, Lexeme lexeme):
          self.v.push_back(lexeme._c)
  
      cpdef unicode string(self, size_t i):
 
</s> remove         cdef bytes utf8_string = self.v[i].string[:self.v[i].length]
 </s> add         cdef bytes utf8_string = self.v.at(i).string[:self.v.at(i).length] </s> remove         return lexeme_check_flag(self.v[i], flag_id)
 </s> add         return lexeme_check_flag(self.v.at(i), flag_id) </s> remove     cdef vector[LexemeC*] v
 </s> add     cdef vector[LexemeC*] *v </s> remove             lexemes[i] = tokens.v[j]
 </s> add             lexemes[i] = tokens.v[0][j]
    def __dealloc__(self):
        del self.v

      def __len__(self):
          return self.v.size()
  
    def __dealloc__(self):
        del self.v

      def append(self, Lexeme lexeme):
          self.v.push_back(lexeme._c)
  
      cpdef unicode string(self, size_t i):
keep keep add keep keep keep keep
 * Switch to using a heap-allocated vector in tokens 
spacy/tokens.pyx