          self.size = 2
          self.set_flags = set_flags
  
      cdef const Lexeme* get(self, Pool mem, UniStr* string) except NULL:
          '''Retrieve a pointer to a Lexeme from the lexicon.'''
          cdef Lexeme* lex
          lex = <Lexeme*>self._map.get(string.key)
          if lex != NULL:
              return lex
          if string.n < 3:
 
</s> remove         self._save_cached(&tokens.lex[orig_size], orig_key, tokens.length - orig_size)
 </s> add         self._save_cached(&tokens.data[orig_size], orig_key, tokens.length - orig_size) </s> remove     cdef const Lexeme** _lex_ptr
    cdef int* _idx_ptr
    cdef int* _pos_ptr
    cdef int* _ner_ptr
    cdef const Lexeme** lex
    cdef int* idx
    cdef int* pos
    cdef int* ner
 </s> add     cdef TokenC* _data
    cdef TokenC* data </s> remove     cdef int _save_cached(self, const Lexeme* const* tokens, hash_t key, int n) except -1:
 </s> add     cdef int _save_cached(self, const TokenC* tokens, hash_t key, int n) except -1: </s> remove         self.lex[self.length] = lexeme
        self.idx[self.length] = idx
        self.pos[self.length] = 0
        self.ner[self.length] = 0
 </s> add         cdef TokenC* t = &self.data[self.length]
        t.lex = lexeme
        t.idx = idx
        t.pos = 0
        t.sense = 0
        '''Get a pointer to a Lexeme from the lexicon, creating a new Lexeme
        if necessary, using memory acquired from the given pool.  If the pool
        is the lexicon's own memory, the lexeme is saved in the lexicon.'''
          self.size = 2
          self.set_flags = set_flags
  
      cdef const Lexeme* get(self, Pool mem, UniStr* string) except NULL:
        '''Get a pointer to a Lexeme from the lexicon, creating a new Lexeme
        if necessary, using memory acquired from the given pool.  If the pool
        is the lexicon's own memory, the lexeme is saved in the lexicon.'''
          cdef Lexeme* lex
          lex = <Lexeme*>self._map.get(string.key)
          if lex != NULL:
              return lex
          if string.n < 3:
keep keep keep keep replace keep keep keep keep keep
 * Introduce a TokenC struct, to handle token indices, pos tags and sense tags 
spacy/lang.pyx