Convert Dataturks NER JSON ouptut to Spacy training data.


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.

Dataturks to Spacy

Here is a sample code on to train a Spacy model from the above data:

Train Spacy

You can also download a full python script to generate the Spacy training data and store it as a Pickle file. Download from: GitHub