mirror of https://github.com/explosion/spaCy.git
parent
29f9fec267
commit
fd4a5341b0
|
@ -7,7 +7,7 @@ from ...gold import docs_to_json
|
||||||
from ...util import get_lang_class, minibatch
|
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:
|
if lang is None:
|
||||||
raise ValueError("No --lang specified, but tokenization required")
|
raise ValueError("No --lang specified, but tokenization required")
|
||||||
json_docs = []
|
json_docs = []
|
||||||
|
|
Loading…
Reference in New Issue