mirror of https://github.com/explosion/spaCy.git
Remove lookup-based lemmatization
This commit is contained in:
parent
fb26b2cb12
commit
fa62427300
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue