From 8380824a1491ac9091730a8949342345f9de0067 Mon Sep 17 00:00:00 2001 From: missQian <13240016260@163.com> Date: Sun, 4 Oct 2020 20:31:24 +0800 Subject: [PATCH] Create example --- data/example | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 data/example diff --git a/data/example b/data/example new file mode 100644 index 0000000..b9979a2 --- /dev/null +++ b/data/example @@ -0,0 +1,54 @@ +[ + { + "sentence": "He visited all his friends.", + "tokens": ["He", "visited", "all", "his", "friends", "."], + "pos-tag": ["PRP", "VBD", "PDT", "PRP$", "NNS", "."], + "golden_entity_mentions": [ + { + "text": "He", + "entity_type": "PER:Individual", + "start": 0, + "end": 0 + }, + { + "text": "his", + "entity_type": "PER:Group", + "start": 3, + "end": 3 + }, + { + "text": "all his friends", + "entity_type": "PER:Group", + "start": 2, + "end": 5 + } + ], + "golden_event_mentions": [ + { + "trigger": { + "text": "visited", + "start": 1, + "end": 1 + }, + "arguments": [ + { + "role": "Entity", + "entity_type": "PER:Individual", + "text": "He", + "start": 0, + "end": 0 + }, + { + "role": "Entity", + "entity_type": "PER:Group", + "text": "all his friends", + "start": 2, + "end": 5 + } + ], + "event_type": "Contact:Meet" + } + ], + "parse": "(ROOT\n (S\n (NP (PRP He))\n (VP (VBD visited)\n (NP (PDT all) (PRP$ his) (NNS friends)))\n (. .)))" + } +]