You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks, it's hard to keep all of the CLI stuff tested. I think it's best to add a **kwargs catch-all, in case arguments are added for other converters that don't apply.
How to reproduce the behaviour
The 'jsonl2json' convertor fails with the "got an unexpected keyword argument" message:
To reproduce:
python -m spacy convert -c jsonl --lang en sample.jsonl /tmp
Nothing interesting within sample.jsonl, the behaviour does not depend on its content.
sample.jsonl.zip
After modifying the signature of ner_jsonl2json, my large dataset was converted without any issues:
Your Environment
Info about spaCy
The text was updated successfully, but these errors were encountered: