Remove lookup-based lemmatization

This commit is contained in:
Matthew Honnibal 2017-11-17 19:14:34 +01:00
parent fb26b2cb12
commit fa62427300
1 changed files with 0 additions and 2 deletions

View File

@ -543,8 +543,6 @@ cdef class Doc:
assert t.lex.orth != 0 assert t.lex.orth != 0
t.spacy = has_space t.spacy = has_space
self.length += 1 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 return t.idx + t.lex.length + t.spacy
@cython.boundscheck(False) @cython.boundscheck(False)