Remove lookup-based lemmatization

This commit is contained in:
Matthew Honnibal 2017-11-17 19:14:34 +01:00
parent fb26b2cb12
commit fa62427300

View File

@ -543,8 +543,6 @@ cdef class Doc:
assert t.lex.orth != 0
t.spacy = has_space
self.length += 1
# Set morphological attributes, e.g. by lemma, if possible
self.vocab.morphology.assign_untagged(t)
return t.idx + t.lex.length + t.spacy
@cython.boundscheck(False)