mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 00:46:28 +03:00
* Fix spacy attr on merged tokens
This commit is contained in:
parent
430e2edb96
commit
78a9068319
|
@ -364,6 +364,7 @@ cdef class Doc:
|
|||
cdef TokenC* token = &self.data[start]
|
||||
# Update fields
|
||||
token.lex = lex
|
||||
token.spacy = self.data[end].spacy
|
||||
# What to do about morphology??
|
||||
# TODO: token.morph = ???
|
||||
token.tag = self.vocab.strings[tag]
|
||||
|
|
Loading…
Reference in New Issue
Block a user