mirror of https://github.com/explosion/spaCy.git
Minor edit to CoNLL-U converter (#6172)
This doesn't make a difference given how the `merged_morph` values override the `morph` values for all the final docs, but could have led to unexpected bugs in the future if the converter is modified.
This commit is contained in:
parent
a22215f427
commit
27cbffff1b
|
@ -207,6 +207,7 @@ def conllu_sentence_to_doc(
|
||||||
pos=poses,
|
pos=poses,
|
||||||
deps=deps,
|
deps=deps,
|
||||||
lemmas=lemmas,
|
lemmas=lemmas,
|
||||||
|
morphs=morphs,
|
||||||
heads=heads,
|
heads=heads,
|
||||||
)
|
)
|
||||||
for i in range(len(doc)):
|
for i in range(len(doc)):
|
||||||
|
|
Loading…
Reference in New Issue