Document current JSON format for training
@@ -101,31 +101,4 @@ p This document describes the target annotations spaCy is trained to predict.
+section("training")
+h(2, "json-input") JSON input format for training
- +under-construction
-
- p spaCy takes training data in the following format:
-
- +code("Example structure").
- doc: {
- id: string,
- paragraphs: [{
- raw: string,
- sents: [int],
- tokens: [{
- start: int,
- tag: string,
- head: int,
- dep: string
- }],
- ner: [{
- start: int,
- end: int,
- label: string
- }],
- brackets: [{
- start: int,
- end: int,
- label: string
- }]
- }]
- }
+ include _annotation/_training
