From fa624273005bc276a03c1ba5e255b47078719492 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 17 Nov 2017 19:14:34 +0100 Subject: [PATCH] Remove lookup-based lemmatization --- spacy/tokens/doc.pyx | 2 -- 1 file changed, 2 deletions(-) diff --git a/spacy/tokens/doc.pyx b/spacy/tokens/doc.pyx index 68617bb5e..62e65f366 100644 --- a/spacy/tokens/doc.pyx +++ b/spacy/tokens/doc.pyx @@ -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)