Doccano needs text in the following format for a JSONL file.
This does not work with json.dumps...at least not directly. It either doesn't give double quotes (which are required) or has some weird format that Doccano doesn't accept.
{"text": "EU rejects German call to boycott British lamb.", "label": [ [0, 2, "ORG"], ... ]}
{"text": "Peter Blackburn", "label": [ [0, 15, "PERSON"] ]}
{"text": "President Obama", "label": [ [10, 15, "PERSON"] ]}
Any tips?
Here is what worked for me