I've been following your example below
{
"text": "Hello Apple",
"tokens": [
{"text": "Hello", "start": 0, "end": 5, "id": 0},
{"text": "Apple", "start": 6, "end": 11, "id": 1}
],
"spans": [
{"start": 6, "end": 11, "startIdx": 1, "endIdx": 2, "label": "ORG"}
]
}
This is how my output for task looks like
{
"text": "Unspecified malignant neoplasm of skin of unspecified part of face",
"_input_hash": 1363891672,
"_task_hash": 35627368,
"tokens": [
{
"text": "Unspecified",
"start": 0,
"end": 11,
"id": 0
},
{
"text": "malignant",
"start": 12,
"end": 21,
"id": 1
},
{
"text": "neoplasm",
"start": 22,
"end": 30,
"id": 2
},
{
"text": "of",
"start": 31,
"end": 33,
"id": 3
},
{
"text": "skin",
"start": 34,
"end": 38,
"id": 4
},
{
"text": "of",
"start": 39,
"end": 41,
"id": 5
},
{
"text": "unspecified",
"start": 42,
"end": 53,
"id": 6
},
{
"text": "part",
"start": 54,
"end": 58,
"id": 7
},
{
"text": "of",
"start": 59,
"end": 61,
"id": 8
},
{
"text": "face",
"start": 62,
"end": 66,
"id": 9
}
],
"spans": [
{
"text": "skin",
"start": 34,
"end": 38,
"startIdx": 4,
"endIdx": 5,
"label": "BODY_PART"
},
{
"text": "face",
"start": 62,
"end": 66,
"startIdx": 9,
"endIdx": 10,
"label": "BODY_PART"
}
]
}
Not sure what I'm doing wrong. I'm using latest version spacy==2.0.5 and prodigy==1.2.0
Thanks