From fd4a5341b0beffa126f1868eb9031cd581fd9515 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 8 Oct 2019 00:52:45 +0200 Subject: [PATCH] Fix ner_jsonl2json converter (fix #4389) (#4394) --- spacy/cli/converters/jsonl2json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/cli/converters/jsonl2json.py b/spacy/cli/converters/jsonl2json.py index 91dd42982..1c1bc45c7 100644 --- a/spacy/cli/converters/jsonl2json.py +++ b/spacy/cli/converters/jsonl2json.py @@ -7,7 +7,7 @@ from ...gold import docs_to_json from ...util import get_lang_class, minibatch -def ner_jsonl2json(input_data, lang=None, n_sents=10, use_morphology=False): +def ner_jsonl2json(input_data, lang=None, n_sents=10, use_morphology=False, **_): if lang is None: raise ValueError("No --lang specified, but tokenization required") json_docs = []