From 27cbffff1bda2c41e20cee90591118dc9abb6592 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Thu, 1 Oct 2020 16:23:42 +0200 Subject: [PATCH] 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. --- spacy/training/converters/conllu_to_docs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/training/converters/conllu_to_docs.py b/spacy/training/converters/conllu_to_docs.py index 18a2b6a93..2e6084ae5 100644 --- a/spacy/training/converters/conllu_to_docs.py +++ b/spacy/training/converters/conllu_to_docs.py @@ -207,6 +207,7 @@ def conllu_sentence_to_doc( pos=poses, deps=deps, lemmas=lemmas, + morphs=morphs, heads=heads, ) for i in range(len(doc)):