Fix conllu converter

This commit is contained in:
Matthew Honnibal 2019-09-11 13:27:37 +02:00
parent 8f9f48b04c
commit af93997993

View File

@ -6,7 +6,7 @@ import re
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.
use_morphology parameter enables appending morphology to tags, which is