A simple script to create dataset in Spacy NER format.
Dataturks NER output is very close to the format used by Spacy, just that Spacy used Python tuples which are not supported by JSON standard, hence just use the below function to convert Dataturks JSON to Spacy training data.
Here is a sample code on to train a Spacy model from the above data:
You can also download a full python script to generate the Spacy training data and store it as a Pickle file. Download from: GitHub