mirror of https://github.com/explosion/spaCy.git
Fix conllu converter
This commit is contained in:
parent
8f9f48b04c
commit
af93997993
|
@ -6,7 +6,7 @@ import re
|
||||||
from ...gold import iob_to_biluo
|
from ...gold import iob_to_biluo
|
||||||
|
|
||||||
|
|
||||||
def conllu2json(input_data, n_sents=10, use_morphology=False, lang=None):
|
def conllu2json(input_data, n_sents=10, use_morphology=False, lang=None, **_):
|
||||||
"""
|
"""
|
||||||
Convert conllu files into JSON format for use with train cli.
|
Convert conllu files into JSON format for use with train cli.
|
||||||
use_morphology parameter enables appending morphology to tags, which is
|
use_morphology parameter enables appending morphology to tags, which is
|
||||||
|
|
Loading…
Reference in New Issue