From 2b8e7c45e09d0ad45fb9b1c26cb69c451a629afe Mon Sep 17 00:00:00 2001 From: ines Date: Tue, 24 Oct 2017 15:35:16 +0200 Subject: [PATCH] Use better training data JSON example --- examples/training/training-data.json | 1742 ++++++++++---------------- 1 file changed, 640 insertions(+), 1102 deletions(-) diff --git a/examples/training/training-data.json b/examples/training/training-data.json index 532ab4ea8..7737b9a14 100644 --- a/examples/training/training-data.json +++ b/examples/training/training-data.json @@ -1,1103 +1,641 @@ [ - { - "id": 0, - "paragraphs": [ - { - "sentences": [ - { - "tokens": [ - { - "dep": "prep", - "head": 44, - "tag": "IN", - "orth": "In" - }, - { - "dep": "det", - "head": 3, - "tag": "DT", - "orth": "an" - }, - { - "dep": "nn", - "head": 2, - "tag": "NNP", - "orth": "Oct." - }, - { - "dep": "num", - "head": 1, - "tag": "CD", - "orth": "19" - }, - { - "dep": "pobj", - "head": -4, - "tag": "NN", - "orth": "review" - }, - { - "dep": "prep", - "head": -1, - "tag": "IN", - "orth": "of" - }, - { - "dep": "punct", - "head": 2, - "tag": "``", - "orth": "``" - }, - { - "dep": "det", - "head": 1, - "tag": "DT", - "orth": "The" - }, - { - "dep": "pobj", - "head": -3, - "tag": "NN", - "orth": "Misanthrope" - }, - { - "dep": "punct", - "head": -1, - "tag": "''", - "orth": "''" - }, - { - "dep": "prep", - "head": -2, - "tag": "IN", - "orth": "at" - }, - { - "dep": "poss", - "head": 3, - "tag": "NNP", - "orth": "Chicago" - }, - { - "dep": "possessive", - "head": -1, - "tag": "POS", - "orth": "'s" - }, - { - "dep": "nn", - "head": 1, - "tag": "NNP", - "orth": "Goodman" - }, - { - "dep": "pobj", - "head": -4, - "tag": "NNP", - "orth": "Theatre" - }, - { - "dep": "punct", - "head": 4, - "tag": "-LRB-", - "orth": "-LRB-" - }, - { - "dep": "punct", - "head": 3, - "tag": "``", - "orth": "``" - }, - { - "dep": "amod", - "head": 1, - "tag": "VBN", - "orth": "Revitalized" - }, - { - "dep": "nsubj", - "head": 1, - "tag": "NNS", - "orth": "Classics" - }, - { - "dep": "dep", - "head": -15, - "tag": "VBP", - "orth": "Take" - }, - { - "dep": "det", - "head": 1, - "tag": "DT", - "orth": "the" - }, - { - "dep": "dobj", - "head": -2, - "tag": "NN", - "orth": "Stage" - }, - { - "dep": "prep", - "head": -3, - "tag": "IN", - "orth": "in" - }, - { - "dep": "nn", - "head": 1, - "tag": "NNP", - "orth": "Windy" - }, - { - "dep": "pobj", - "head": -2, - "tag": "NNP", - "orth": "City" - }, - { - "dep": "punct", - "head": -6, - "tag": ",", - "orth": "," - }, - { - "dep": "punct", - "head": -7, - "tag": "''", - "orth": "''" - }, - { - "dep": "dep", - "head": -8, - "tag": "NN", - "orth": "Leisure" - }, - { - "dep": "cc", - "head": -1, - "tag": "CC", - "orth": "&" - }, - { - "dep": "conj", - "head": -2, - "tag": "NNS", - "orth": "Arts" - }, - { - "dep": "punct", - "head": -11, - "tag": "-RRB-", - "orth": "-RRB-" - }, - { - "dep": "punct", - "head": 13, - "tag": ",", - "orth": "," - }, - { - "dep": "det", - "head": 1, - "tag": "DT", - "orth": "the" - }, - { - "dep": "nsubjpass", - "head": 11, - "tag": "NN", - "orth": "role" - }, - { - "dep": "prep", - "head": -1, - "tag": "IN", - "orth": "of" - }, - { - "dep": "pobj", - "head": -1, - "tag": "NNP", - "orth": "Celimene" - }, - { - "dep": "punct", - "head": -3, - "tag": ",", - "orth": "," - }, - { - "dep": "partmod", - "head": -4, - "tag": "VBN", - "orth": "played" - }, - { - "dep": "prep", - "head": -1, - "tag": "IN", - "orth": "by" - }, - { - "dep": "nn", - "head": 1, - "tag": "NNP", - "orth": "Kim" - }, - { - "dep": "pobj", - "head": -2, - "tag": "NNP", - "orth": "Cattrall" - }, - { - "dep": "punct", - "head": -8, - "tag": ",", - "orth": "," - }, - { - "dep": "auxpass", - "head": 2, - "tag": "VBD", - "orth": "was" - }, - { - "dep": "advmod", - "head": 1, - "tag": "RB", - "orth": "mistakenly" - }, - { - "dep": "ROOT", - "head": 0, - "tag": "VBN", - "orth": "attributed" - }, - { - "dep": "prep", - "head": -1, - "tag": "TO", - "orth": "to" - }, - { - "dep": "nn", - "head": 1, - "tag": "NNP", - "orth": "Christina" - }, - { - "dep": "pobj", - "head": -2, - "tag": "NNP", - "orth": "Haag" - }, - { - "dep": "punct", - "head": -4, - "tag": ".", - "orth": "." - } - ] - } - ] - } - ] - }, - { - "id": 1, - "paragraphs": [ - { - "sentences": [ - { - "tokens": [ - { - "dep": "nn", - "head": 1, - "tag": "NNP", - "orth": "Ms." - }, - { - "dep": "nsubj", - "head": 1, - "tag": "NNP", - "orth": "Haag" - }, - { - "dep": "ROOT", - "head": 0, - "tag": "VBZ", - "orth": "plays" - }, - { - "dep": "dobj", - "head": -1, - "tag": "NNP", - "orth": "Elianti" - }, - { - "dep": "punct", - "head": -2, - "tag": ".", - "orth": "." - } - ] - } - ] - } - ] - }, - { - "id": 2, - "paragraphs": [ - { - "sentences": [ - { - "tokens": [ - { - "dep": "nn", - "head": 3, - "tag": "NNP", - "orth": "Rolls-Royce" - }, - { - "dep": "nn", - "head": 2, - "tag": "NNP", - "orth": "Motor" - }, - { - "dep": "nn", - "head": 1, - "tag": "NNPS", - "orth": "Cars" - }, - { - "dep": "nsubj", - "head": 1, - "tag": "NNP", - "orth": "Inc." - }, - { - "dep": "ROOT", - "head": 0, - "tag": "VBD", - "orth": "said" - }, - { - "dep": "nsubj", - "head": 1, - "tag": "PRP", - "orth": "it" - }, - { - "dep": "ccomp", - "head": -2, - "tag": "VBZ", - "orth": "expects" - }, - { - "dep": "poss", - "head": 2, - "tag": "PRP$", - "orth": "its" - }, - { - "dep": "nn", - "head": 1, - "tag": "NNP", - "orth": "U.S." - }, - { - "dep": "nsubj", - "head": 3, - "tag": "NNS", - "orth": "sales" - }, - { - "dep": "aux", - "head": 2, - "tag": "TO", - "orth": "to" - }, - { - "dep": "cop", - "head": 1, - "tag": "VB", - "orth": "remain" - }, - { - "dep": "xcomp", - "head": -6, - "tag": "JJ", - "orth": "steady" - }, - { - "dep": "prep", - "head": -1, - "tag": "IN", - "orth": "at" - }, - { - "dep": "quantmod", - "head": 1, - "tag": "IN", - "orth": "about" - }, - { - "dep": "num", - "head": 1, - "tag": "CD", - "orth": "1,200" - }, - { - "dep": "pobj", - "head": -3, - "tag": "NNS", - "orth": "cars" - }, - { - "dep": "prep", - "head": -5, - "tag": "IN", - "orth": "in" - }, - { - "dep": "pobj", - "head": -1, - "tag": "CD", - "orth": "1990" - }, - { - "dep": "punct", - "head": -15, - "tag": ".", - "orth": "." - } - ] - } - ] - } - ] - }, - { - "id": 3, - "paragraphs": [ - { - "sentences": [ - { - "tokens": [ - { - "dep": "det", - "head": 3, - "tag": "DT", - "orth": "The" - }, - { - "dep": "nn", - "head": 2, - "tag": "NN", - "orth": "luxury" - }, - { - "dep": "nn", - "head": 1, - "tag": "NN", - "orth": "auto" - }, - { - "dep": "nsubj", - "head": 3, - "tag": "NN", - "orth": "maker" - }, - { - "dep": "amod", - "head": 1, - "tag": "JJ", - "orth": "last" - }, - { - "dep": "tmod", - "head": 1, - "tag": "NN", - "orth": "year" - }, - { - "dep": "ROOT", - "head": 0, - "tag": "VBD", - "orth": "sold" - }, - { - "dep": "num", - "head": 1, - "tag": "CD", - "orth": "1,214" - }, - { - "dep": "dobj", - "head": -2, - "tag": "NNS", - "orth": "cars" - }, - { - "dep": "prep", - "head": -3, - "tag": "IN", - "orth": "in" - }, - { - "dep": "det", - "head": 1, - "tag": "DT", - "orth": "the" - }, - { - "dep": "pobj", - "head": -2, - "tag": "NNP", - "orth": "U.S." - } - ] - } - ] - } - ] - }, - { - "id": 4, - "paragraphs": [ - { - "sentences": [ - { - "tokens": [ - { - "dep": "nn", - "head": 1, - "tag": "NNP", - "orth": "Howard" - }, - { - "dep": "nsubj", - "head": 8, - "tag": "NNP", - "orth": "Mosher" - }, - { - "dep": "punct", - "head": -1, - "tag": ",", - "orth": "," - }, - { - "dep": "appos", - "head": -2, - "tag": "NN", - "orth": "president" - }, - { - "dep": "cc", - "head": -1, - "tag": "CC", - "orth": "and" - }, - { - "dep": "amod", - "head": 2, - "tag": "JJ", - "orth": "chief" - }, - { - "dep": "nn", - "head": 1, - "tag": "NN", - "orth": "executive" - }, - { - "dep": "conj", - "head": -4, - "tag": "NN", - "orth": "officer" - }, - { - "dep": "punct", - "head": -7, - "tag": ",", - "orth": "," - }, - { - "dep": "ROOT", - "head": 0, - "tag": "VBD", - "orth": "said" - }, - { - "dep": "nsubj", - "head": 1, - "tag": "PRP", - "orth": "he" - }, - { - "dep": "ccomp", - "head": -2, - "tag": "VBZ", - "orth": "anticipates" - }, - { - "dep": "dobj", - "head": -1, - "tag": "NN", - "orth": "growth" - }, - { - "dep": "prep", - "head": -1, - "tag": "IN", - "orth": "for" - }, - { - "dep": "det", - "head": 3, - "tag": "DT", - "orth": "the" - }, - { - "dep": "nn", - "head": 2, - "tag": "NN", - "orth": "luxury" - }, - { - "dep": "nn", - "head": 1, - "tag": "NN", - "orth": "auto" - }, - { - "dep": "pobj", - "head": -4, - "tag": "NN", - "orth": "maker" - }, - { - "dep": "prep", - "head": -6, - "tag": "IN", - "orth": "in" - }, - { - "dep": "pobj", - "head": -1, - "tag": "NNP", - "orth": "Britain" - }, - { - "dep": "cc", - "head": -1, - "tag": "CC", - "orth": "and" - }, - { - "dep": "conj", - "head": -2, - "tag": "NNP", - "orth": "Europe" - }, - { - "dep": "punct", - "head": -4, - "tag": ",", - "orth": "," - }, - { - "dep": "cc", - "head": -5, - "tag": "CC", - "orth": "and" - }, - { - "dep": "conj", - "head": -6, - "tag": "IN", - "orth": "in" - }, - { - "dep": "amod", - "head": 1, - "tag": "JJ", - "orth": "Far" - }, - { - "dep": "amod", - "head": 1, - "tag": "JJ", - "orth": "Eastern" - }, - { - "dep": "pobj", - "head": -3, - "tag": "NNS", - "orth": "markets" - }, - { - "dep": "punct", - "head": -19, - "tag": ".", - "orth": "." - } - ] - } - ] - } - ] - }, - { - "id": 5, - "paragraphs": [ - { - "sentences": [ - { - "tokens": [ - { - "dep": "nn", - "head": 2, - "tag": "NNP", - "orth": "BELL" - }, - { - "dep": "nn", - "head": 1, - "tag": "NNP", - "orth": "INDUSTRIES" - }, - { - "dep": "nsubj", - "head": 1, - "tag": "NNP", - "orth": "Inc." - }, - { - "dep": "ROOT", - "head": 0, - "tag": "VBD", - "orth": "increased" - }, - { - "dep": "poss", - "head": 1, - "tag": "PRP$", - "orth": "its" - }, - { - "dep": "dobj", - "head": -2, - "tag": "NN", - "orth": "quarterly" - }, - { - "dep": "prep", - "head": -3, - "tag": "TO", - "orth": "to" - }, - { - "dep": "num", - "head": 1, - "tag": "CD", - "orth": "10" - }, - { - "dep": "pobj", - "head": -2, - "tag": "NNS", - "orth": "cents" - }, - { - "dep": "prep", - "head": -6, - "tag": "IN", - "orth": "from" - }, - { - "dep": "num", - "head": 1, - "tag": "CD", - "orth": "seven" - }, - { - "dep": "pobj", - "head": -2, - "tag": "NNS", - "orth": "cents" - }, - { - "dep": "det", - "head": 1, - "tag": "DT", - "orth": "a" - }, - { - "dep": "npadvmod", - "head": -2, - "tag": "NN", - "orth": "share" - }, - { - "dep": "punct", - "head": -11, - "tag": ".", - "orth": "." - } - ] - } - ] - } - ] - }, - { - "id": 6, - "paragraphs": [ - { - "sentences": [ - { - "tokens": [ - { - "dep": "det", - "head": 2, - "tag": "DT", - "orth": "The" - }, - { - "dep": "amod", - "head": 1, - "tag": "JJ", - "orth": "new" - }, - { - "dep": "nsubj", - "head": 3, - "tag": "NN", - "orth": "rate" - }, - { - "dep": "aux", - "head": 2, - "tag": "MD", - "orth": "will" - }, - { - "dep": "cop", - "head": 1, - "tag": "VB", - "orth": "be" - }, - { - "dep": "ROOT", - "head": 0, - "tag": "JJ", - "orth": "payable" - }, - { - "dep": "tmod", - "head": -1, - "tag": "NNP", - "orth": "Feb." - }, - { - "dep": "num", - "head": -1, - "tag": "CD", - "orth": "15" - }, - { - "dep": "punct", - "head": -3, - "tag": ".", - "orth": "." - } - ] - } - ] - } - ] - }, - { - "id": 7, - "paragraphs": [ - { - "sentences": [ - { - "tokens": [ - { - "dep": "det", - "head": 2, - "tag": "DT", - "orth": "A" - }, - { - "dep": "nn", - "head": 1, - "tag": "NN", - "orth": "record" - }, - { - "dep": "nsubjpass", - "head": 4, - "tag": "NN", - "orth": "date" - }, - { - "dep": "aux", - "head": 3, - "tag": "VBZ", - "orth": "has" - }, - { - "dep": "neg", - "head": 2, - "tag": "RB", - "orth": "n't" - }, - { - "dep": "auxpass", - "head": 1, - "tag": "VBN", - "orth": "been" - }, - { - "dep": "ROOT", - "head": 0, - "tag": "VBN", - "orth": "set" - }, - { - "dep": "punct", - "head": -1, - "tag": ".", - "orth": "." - } - ] - } - ] - } - ] - }, - { - "id": 8, - "paragraphs": [ - { - "sentences": [ - { - "tokens": [ - { - "dep": "nsubj", - "head": 7, - "tag": "NNP", - "orth": "Bell" - }, - { - "dep": "punct", - "head": -1, - "tag": ",", - "orth": "," - }, - { - "dep": "partmod", - "head": -2, - "tag": "VBN", - "orth": "based" - }, - { - "dep": "prep", - "head": -1, - "tag": "IN", - "orth": "in" - }, - { - "dep": "nn", - "head": 1, - "tag": "NNP", - "orth": "Los" - }, - { - "dep": "pobj", - "head": -2, - "tag": "NNP", - "orth": "Angeles" - }, - { - "dep": "punct", - "head": -6, - "tag": ",", - "orth": "," - }, - { - "dep": "ROOT", - "head": 0, - "tag": "VBZ", - "orth": "makes" - }, - { - "dep": "cc", - "head": -1, - "tag": "CC", - "orth": "and" - }, - { - "dep": "conj", - "head": -2, - "tag": "VBZ", - "orth": "distributes" - }, - { - "dep": "amod", - "head": 5, - "tag": "JJ", - "orth": "electronic" - }, - { - "dep": "punct", - "head": -1, - "tag": ",", - "orth": "," - }, - { - "dep": "conj", - "head": -2, - "tag": "NN", - "orth": "computer" - }, - { - "dep": "cc", - "head": -3, - "tag": "CC", - "orth": "and" - }, - { - "dep": "conj", - "head": -4, - "tag": "NN", - "orth": "building" - }, - { - "dep": "dobj", - "head": -8, - "tag": "NNS", - "orth": "products" - }, - { - "dep": "punct", - "head": -9, - "tag": ".", - "orth": "." - } - ] - } - ] - } - ] - } -] + { + "id": "wsj_0200", + "paragraphs": [ + { + "raw": "In an Oct. 19 review of \"The Misanthrope\" at Chicago's Goodman Theatre (\"Revitalized Classics Take the Stage in Windy City,\" Leisure & Arts), the role of Celimene, played by Kim Cattrall, was mistakenly attributed to Christina Haag. Ms. Haag plays Elianti.", + "sentences": [ + { + "tokens": [ + { + "head": 44, + "dep": "prep", + "tag": "IN", + "orth": "In", + "ner": "O", + "id": 0 + }, + { + "head": 3, + "dep": "det", + "tag": "DT", + "orth": "an", + "ner": "O", + "id": 1 + }, + { + "head": 2, + "dep": "nmod", + "tag": "NNP", + "orth": "Oct.", + "ner": "B-DATE", + "id": 2 + }, + { + "head": -1, + "dep": "nummod", + "tag": "CD", + "orth": "19", + "ner": "L-DATE", + "id": 3 + }, + { + "head": -4, + "dep": "pobj", + "tag": "NN", + "orth": "review", + "ner": "O", + "id": 4 + }, + { + "head": -1, + "dep": "prep", + "tag": "IN", + "orth": "of", + "ner": "O", + "id": 5 + }, + { + "head": 2, + "dep": "punct", + "tag": "``", + "orth": "``", + "ner": "O", + "id": 6 + }, + { + "head": 1, + "dep": "det", + "tag": "DT", + "orth": "The", + "ner": "B-WORK_OF_ART", + "id": 7 + }, + { + "head": -3, + "dep": "pobj", + "tag": "NN", + "orth": "Misanthrope", + "ner": "L-WORK_OF_ART", + "id": 8 + }, + { + "head": -1, + "dep": "punct", + "tag": "''", + "orth": "''", + "ner": "O", + "id": 9 + }, + { + "head": -2, + "dep": "prep", + "tag": "IN", + "orth": "at", + "ner": "O", + "id": 10 + }, + { + "head": 3, + "dep": "poss", + "tag": "NNP", + "orth": "Chicago", + "ner": "U-GPE", + "id": 11 + }, + { + "head": -1, + "dep": "case", + "tag": "POS", + "orth": "'s", + "ner": "O", + "id": 12 + }, + { + "head": 1, + "dep": "compound", + "tag": "NNP", + "orth": "Goodman", + "ner": "B-FAC", + "id": 13 + }, + { + "head": -4, + "dep": "pobj", + "tag": "NNP", + "orth": "Theatre", + "ner": "L-FAC", + "id": 14 + }, + { + "head": 4, + "dep": "punct", + "tag": "-LRB-", + "orth": "(", + "ner": "O", + "id": 15 + }, + { + "head": 3, + "dep": "punct", + "tag": "``", + "orth": "``", + "ner": "O", + "id": 16 + }, + { + "head": 1, + "dep": "amod", + "tag": "VBN", + "orth": "Revitalized", + "ner": "B-WORK_OF_ART", + "id": 17 + }, + { + "head": 1, + "dep": "nsubj", + "tag": "NNS", + "orth": "Classics", + "ner": "I-WORK_OF_ART", + "id": 18 + }, + { + "head": -15, + "dep": "appos", + "tag": "VBP", + "orth": "Take", + "ner": "I-WORK_OF_ART", + "id": 19 + }, + { + "head": 1, + "dep": "det", + "tag": "DT", + "orth": "the", + "ner": "I-WORK_OF_ART", + "id": 20 + }, + { + "head": -2, + "dep": "dobj", + "tag": "NN", + "orth": "Stage", + "ner": "I-WORK_OF_ART", + "id": 21 + }, + { + "head": -3, + "dep": "prep", + "tag": "IN", + "orth": "in", + "ner": "I-WORK_OF_ART", + "id": 22 + }, + { + "head": 1, + "dep": "compound", + "tag": "NNP", + "orth": "Windy", + "ner": "I-WORK_OF_ART", + "id": 23 + }, + { + "head": -2, + "dep": "pobj", + "tag": "NNP", + "orth": "City", + "ner": "L-WORK_OF_ART", + "id": 24 + }, + { + "head": -6, + "dep": "punct", + "tag": ",", + "orth": ",", + "ner": "O", + "id": 25 + }, + { + "head": -7, + "dep": "punct", + "tag": "''", + "orth": "''", + "ner": "O", + "id": 26 + }, + { + "head": -8, + "dep": "npadvmod", + "tag": "NN", + "orth": "Leisure", + "ner": "B-ORG", + "id": 27 + }, + { + "head": -1, + "dep": "cc", + "tag": "CC", + "orth": "&", + "ner": "I-ORG", + "id": 28 + }, + { + "head": -2, + "dep": "conj", + "tag": "NNS", + "orth": "Arts", + "ner": "L-ORG", + "id": 29 + }, + { + "head": -11, + "dep": "punct", + "tag": "-RRB-", + "orth": ")", + "ner": "O", + "id": 30 + }, + { + "head": 13, + "dep": "punct", + "tag": ",", + "orth": ",", + "ner": "O", + "id": 31 + }, + { + "head": 1, + "dep": "det", + "tag": "DT", + "orth": "the", + "ner": "O", + "id": 32 + }, + { + "head": 11, + "dep": "nsubjpass", + "tag": "NN", + "orth": "role", + "ner": "O", + "id": 33 + }, + { + "head": -1, + "dep": "prep", + "tag": "IN", + "orth": "of", + "ner": "O", + "id": 34 + }, + { + "head": -1, + "dep": "pobj", + "tag": "NNP", + "orth": "Celimene", + "ner": "U-PERSON", + "id": 35 + }, + { + "head": -3, + "dep": "punct", + "tag": ",", + "orth": ",", + "ner": "O", + "id": 36 + }, + { + "head": -4, + "dep": "acl", + "tag": "VBN", + "orth": "played", + "ner": "O", + "id": 37 + }, + { + "head": -1, + "dep": "agent", + "tag": "IN", + "orth": "by", + "ner": "O", + "id": 38 + }, + { + "head": 1, + "dep": "compound", + "tag": "NNP", + "orth": "Kim", + "ner": "B-PERSON", + "id": 39 + }, + { + "head": -2, + "dep": "pobj", + "tag": "NNP", + "orth": "Cattrall", + "ner": "L-PERSON", + "id": 40 + }, + { + "head": -8, + "dep": "punct", + "tag": ",", + "orth": ",", + "ner": "O", + "id": 41 + }, + { + "head": 2, + "dep": "auxpass", + "tag": "VBD", + "orth": "was", + "ner": "O", + "id": 42 + }, + { + "head": 1, + "dep": "advmod", + "tag": "RB", + "orth": "mistakenly", + "ner": "O", + "id": 43 + }, + { + "head": 0, + "dep": "root", + "tag": "VBN", + "orth": "attributed", + "ner": "O", + "id": 44 + }, + { + "head": -1, + "dep": "prep", + "tag": "IN", + "orth": "to", + "ner": "O", + "id": 45 + }, + { + "head": 1, + "dep": "compound", + "tag": "NNP", + "orth": "Christina", + "ner": "B-PERSON", + "id": 46 + }, + { + "head": -2, + "dep": "pobj", + "tag": "NNP", + "orth": "Haag", + "ner": "L-PERSON", + "id": 47 + }, + { + "head": -4, + "dep": "punct", + "tag": ".", + "orth": ".", + "ner": "O", + "id": 48 + } + ], + "brackets": [ + { + "first": 2, + "last": 3, + "label": "NML" + }, + { + "first": 1, + "last": 4, + "label": "NP" + }, + { + "first": 7, + "last": 8, + "label": "NP-TTL" + }, + { + "first": 11, + "last": 12, + "label": "NP" + }, + { + "first": 11, + "last": 14, + "label": "NP" + }, + { + "first": 10, + "last": 14, + "label": "PP-LOC" + }, + { + "first": 6, + "last": 14, + "label": "NP" + }, + { + "first": 5, + "last": 14, + "label": "PP" + }, + { + "first": 1, + "last": 14, + "label": "NP" + }, + { + "first": 17, + "last": 18, + "label": "NP-SBJ" + }, + { + "first": 20, + "last": 21, + "label": "NP" + }, + { + "first": 23, + "last": 24, + "label": "NP" + }, + { + "first": 22, + "last": 24, + "label": "PP-LOC" + }, + { + "first": 19, + "last": 24, + "label": "VP" + }, + { + "first": 17, + "last": 24, + "label": "S-HLN" + }, + { + "first": 27, + "last": 29, + "label": "NP-TMP" + }, + { + "first": 15, + "last": 30, + "label": "NP" + }, + { + "first": 1, + "last": 30, + "label": "NP" + }, + { + "first": 0, + "last": 30, + "label": "PP-LOC" + }, + { + "first": 32, + "last": 33, + "label": "NP" + }, + { + "first": 35, + "last": 35, + "label": "NP" + }, + { + "first": 34, + "last": 35, + "label": "PP" + }, + { + "first": 32, + "last": 35, + "label": "NP" + }, + { + "first": 39, + "last": 40, + "label": "NP-LGS" + }, + { + "first": 38, + "last": 40, + "label": "PP" + }, + { + "first": 37, + "last": 40, + "label": "VP" + }, + { + "first": 32, + "last": 41, + "label": "NP-SBJ-2" + }, + { + "first": 43, + "last": 43, + "label": "ADVP-MNR" + }, + { + "first": 46, + "last": 47, + "label": "NP" + }, + { + "first": 45, + "last": 47, + "label": "PP-CLR" + }, + { + "first": 44, + "last": 47, + "label": "VP" + }, + { + "first": 42, + "last": 47, + "label": "VP" + }, + { + "first": 0, + "last": 48, + "label": "S" + } + ] + }, + { + "tokens": [ + { + "head": 1, + "dep": "compound", + "tag": "NNP", + "orth": "Ms.", + "ner": "O", + "id": 0 + }, + { + "head": 1, + "dep": "nsubj", + "tag": "NNP", + "orth": "Haag", + "ner": "U-PERSON", + "id": 1 + }, + { + "head": 0, + "dep": "root", + "tag": "VBZ", + "orth": "plays", + "ner": "O", + "id": 2 + }, + { + "head": -1, + "dep": "dobj", + "tag": "NNP", + "orth": "Elianti", + "ner": "U-PERSON", + "id": 3 + }, + { + "head": -2, + "dep": "punct", + "tag": ".", + "orth": ".", + "ner": "O", + "id": 4 + } + ], + "brackets": [ + { + "first": 0, + "last": 1, + "label": "NP-SBJ" + }, + { + "first": 3, + "last": 3, + "label": "NP" + }, + { + "first": 2, + "last": 3, + "label": "VP" + }, + { + "first": 0, + "last": 4, + "label": "S" + } + ] + } + ] + } + ] + } + ]