mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
* Fix space at end of merged token
This commit is contained in:
parent
f634191e27
commit
9e7bfe8449
|
@ -402,7 +402,7 @@ cdef class Doc:
|
|||
cdef TokenC* token = &self.data[start]
|
||||
# Update fields
|
||||
token.lex = lex
|
||||
token.spacy = self.data[end].spacy
|
||||
token.spacy = self.data[end-1].spacy
|
||||
# What to do about morphology??
|
||||
# TODO: token.morph = ???
|
||||
token.tag = self.vocab.strings[tag]
|
||||
|
|
Loading…
Reference in New Issue
Block a user