diff --git a/spacy/cli/converters/conllu2json.py b/spacy/cli/converters/conllu2json.py index 7fa491b9d..dc68efef4 100644 --- a/spacy/cli/converters/conllu2json.py +++ b/spacy/cli/converters/conllu2json.py @@ -42,7 +42,7 @@ def conllu2json(input_data, n_sents=10, use_morphology=False, lang=None, **_): raw = "" sentences = [] if sentences: - doc = create_doc(sentences, i) + doc = create_doc(raw, sentences, i) docs.append(doc) return docs