  
      cdef int assign_tag(self, TokenC* token, int tag) except -1:
          props = self.tag_map[self.tag_names[tag]]
          token.pos = UNIV_POS_NAMES[props['pos'].upper()]
          token.tag = tag
          #token.inflection = # TODO
  
      cdef int assign_from_dict(self, TokenC* token, props) except -1:
          pass
  
 
</s> remove     @classmethod
    def from_dir(cls, data_dir):
        tag_map = json.load(open(path.join(data_dir, 'tag_map.json')))
        return cls(tag_map, {}, None)

    cdef int assign_tag(self, TokenC* token, int tag) except -1:
 </s> add     cdef int assign_tag(self, StringStore strings, TokenC* token, int tag) except -1:
        # TODO Caching </s> remove     cdef int assign_tag(self, TokenC* token, int tag) except -1
 </s> add     cdef int assign_tag(self, StringStore strings, TokenC* token, int tag) except -1 </s> remove     #cdef int set_morph(self, const int i, const PosTag* tag, TokenC* tokens) except -1
    #cdef int lemmatize(self, const univ_pos_t pos, const LexemeC* lex) except -1
 </s> add  </s> remove     cdef readonly int n_tags

 </s> add  </s> remove 
            self.vocab.morphology.assign_tag(&tokens.data[i], guess)
 </s> add             self.vocab.morphology.assign_tag(self.vocab.strings, &tokens.data[i], guess)
        token.tag = strings[self.tag_names[tag]]
        lemma = self.lemmatizer(strings[token.lex.orth], token.pos)
        token.lemma = strings[lemma]
  
      cdef int assign_tag(self, TokenC* token, int tag) except -1:
          props = self.tag_map[self.tag_names[tag]]
          token.pos = UNIV_POS_NAMES[props['pos'].upper()]
        token.tag = strings[self.tag_names[tag]]
        lemma = self.lemmatizer(strings[token.lex.orth], token.pos)
        token.lemma = strings[lemma]
          #token.inflection = # TODO
  
      cdef int assign_from_dict(self, TokenC* token, props) except -1:
          pass
  
keep keep keep keep replace keep keep keep keep keep
 * Tagger training now working. Still need to test load/save of model. Morphology still broken. 
spacy/morphology.pyx