-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.srl
executable file
·80 lines (80 loc) · 17.4 KB
/
test.srl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{"corpusId": "", "id": "", "text": "Microsoft said it has identified three companies for the China program to run through June . The company gives each participating startup in the Seattle program $ 20,000 to create softwa
re .", "tokens": ["Microsoft", "said", "it", "has", "identified", "three", "companies", "for", "the", "China", "program", "to", "run", "through", "June", ".", "The", "company", "gives", "each", "participating", "startup",
"in", "the", "Seattle", "program", "$", "20,000", "to", "create", "software", "."], "tokenOffsets": [{"form": "Microsoft", "startCharOffset": 0, "endCharOffset": 9}, {"form": "said", "startCharOffset": 10, "endCharOffset":
14}, {"form": "it", "startCharOffset": 15, "endCharOffset": 17}, {"form": "has", "startCharOffset": 18, "endCharOffset": 21}, {"form": "identified", "startCharOffset": 22, "endCharOffset": 32}, {"form": "three", "startCha
rOffset": 33, "endCharOffset": 38}, {"form": "companies", "startCharOffset": 39, "endCharOffset": 48}, {"form": "for", "startCharOffset": 49, "endCharOffset": 52}, {"form": "the", "startCharOffset": 53, "endCharOffset": 56
}, {"form": "China", "startCharOffset": 57, "endCharOffset": 62}, {"form": "program", "startCharOffset": 63, "endCharOffset": 70}, {"form": "to", "startCharOffset": 71, "endCharOffset": 73}, {"form": "run", "startCharOffse
t": 74, "endCharOffset": 77}, {"form": "through", "startCharOffset": 78, "endCharOffset": 85}, {"form": "June", "startCharOffset": 86, "endCharOffset": 90}, {"form": ".", "startCharOffset": 91, "endCharOffset": 92}, {"form
": "The", "startCharOffset": 93, "endCharOffset": 96}, {"form": "company", "startCharOffset": 97, "endCharOffset": 104}, {"form": "gives", "startCharOffset": 105, "endCharOffset": 110}, {"form": "each", "startCharOffset":
111, "endCharOffset": 115}, {"form": "participating", "startCharOffset": 116, "endCharOffset": 129}, {"form": "startup", "startCharOffset": 130, "endCharOffset": 137}, {"form": "in", "startCharOffset": 138, "endCharOffset"
: 140}, {"form": "the", "startCharOffset": 141, "endCharOffset": 144}, {"form": "Seattle", "startCharOffset": 145, "endCharOffset": 152}, {"form": "program", "startCharOffset": 153, "endCharOffset": 160}, {"form": "$", "st
artCharOffset": 161, "endCharOffset": 162}, {"form": "20,000", "startCharOffset": 163, "endCharOffset": 169}, {"form": "to", "startCharOffset": 170, "endCharOffset": 172}, {"form": "create", "startCharOffset": 173, "endCha
rOffset": 179}, {"form": "software", "startCharOffset": 180, "endCharOffset": 188}, {"form": ".", "startCharOffset": 189, "endCharOffset": 190}], "sentences": {"generator": "srl_pipeline", "score": 1.0, "sentenceEndPositio
ns": [16, 32]}, "views": [{"viewName": "SENTENCE", "viewData": [{"viewType": "", "viewName": "SENTENCE", "generator": "UserSpecified", "score": 1.0, "constituents": [{"label": "SENTENCE", "score": 1.0, "start": 0, "end": 1
6}, {"label": "SENTENCE", "score": 1.0, "start": 16, "end": 32}]}]}, {"viewName": "TOKENS", "viewData": [{"viewType": "", "viewName": "TOKENS", "generator": "UserSpecified", "score": 1.0, "constituents": [{"label": "Micros
oft", "score": 1.0, "start": 0, "end": 1}, {"label": "said", "score": 1.0, "start": 1, "end": 2}, {"label": "it", "score": 1.0, "start": 2, "end": 3}, {"label": "has", "score": 1.0, "start": 3, "end": 4}, {"label": "identi
fied", "score": 1.0, "start": 4, "end": 5}, {"label": "three", "score": 1.0, "start": 5, "end": 6}, {"label": "companies", "score": 1.0, "start": 6, "end": 7}, {"label": "for", "score": 1.0, "start": 7, "end": 8}, {"label"
: "the", "score": 1.0, "start": 8, "end": 9}, {"label": "China", "score": 1.0, "start": 9, "end": 10}, {"label": "program", "score": 1.0, "start": 10, "end": 11}, {"label": "to", "score": 1.0, "start": 11, "end": 12}, {"la
bel": "run", "score": 1.0, "start": 12, "end": 13}, {"label": "through", "score": 1.0, "start": 13, "end": 14}, {"label": "June", "score": 1.0, "start": 14, "end": 15}, {"label": ".", "score": 1.0, "start": 15, "end": 16},
{"label": "The", "score": 1.0, "start": 16, "end": 17}, {"label": "company", "score": 1.0, "start": 17, "end": 18}, {"label": "gives", "score": 1.0, "start": 18, "end": 19}, {"label": "each", "score": 1.0, "start": 19, "e
nd": 20}, {"label": "participating", "score": 1.0, "start": 20, "end": 21}, {"label": "startup", "score": 1.0, "start": 21, "end": 22}, {"label": "in", "score": 1.0, "start": 22, "end": 23}, {"label": "the", "score": 1.0,
"start": 23, "end": 24}, {"label": "Seattle", "score": 1.0, "start": 24, "end": 25}, {"label": "program", "score": 1.0, "start": 25, "end": 26}, {"label": "$", "score": 1.0, "start": 26, "end": 27}, {"label": "20,000", "sc
ore": 1.0, "start": 27, "end": 28}, {"label": "to", "score": 1.0, "start": 28, "end": 29}, {"label": "create", "score": 1.0, "start": 29, "end": 30}, {"label": "software", "score": 1.0, "start": 30, "end": 31}, {"label": "
.", "score": 1.0, "start": 31, "end": 32}]}]}, {"viewName": "SRL_ONTONOTES", "viewData": [{"viewType": "", "viewName": "SRL_ONTONOTES", "generator": "srl_pipeline", "score": 1.0, "constituents": [{"label": "Predicate", "sc
ore": 1.0, "start": 1, "end": 2, "properties": {"SenseNumber": "1.0", "predicate": "say", "sense": "say"}}, {"label": "ARG0", "score": 1.0, "start": 0, "end": 1}, {"label": "ARG1", "score": 1.0, "start": 2, "end": 15}, {"l
abel": "Predicate", "score": 1.0, "start": 3, "end": 4, "properties": {"SenseNumber": "12.0", "predicate": "have", "sense": "NA"}}, {"label": "Predicate", "score": 1.0, "start": 4, "end": 5, "properties": {"SenseNumber": "
1.0", "predicate": "identify", "sense": "label, call"}}, {"label": "ARG0", "score": 1.0, "start": 2, "end": 3}, {"label": "ARG1", "score": 1.0, "start": 5, "end": 15}, {"label": "Predicate", "score": 1.0, "start": 12, "end
": 13, "properties": {"SenseNumber": "3.0", "predicate": "run", "sense": "cost"}}, {"label": "ARG1", "score": 1.0, "start": 8, "end": 11}, {"label": "ARGM-TMP", "score": 1.0, "start": 13, "end": 15}, {"label": "Predicate",
"score": 1.0, "start": 18, "end": 19, "properties": {"SenseNumber": "1.0", "predicate": "give", "sense": "transfer"}}, {"label": "ARG0", "score": 1.0, "start": 16, "end": 18}, {"label": "ARG2", "score": 1.0, "start": 19,
"end": 26}, {"label": "ARG1", "score": 1.0, "start": 26, "end": 31}, {"label": "Predicate", "score": 1.0, "start": 20, "end": 21, "properties": {"SenseNumber": "1.0", "predicate": "participate", "sense": "take part in"}},
{"label": "ARG0", "score": 1.0, "start": 21, "end": 22}, {"label": "Predicate", "score": 1.0, "start": 29, "end": 30, "properties": {"SenseNumber": "1.0", "predicate": "create", "sense": "create"}}, {"label": "ARG0", "scor
e": 1.0, "start": 19, "end": 26}, {"label": "ARG1", "score": 1.0, "start": 30, "end": 31}], "relations": [{"relationName": "ARG0", "srcConstituent": 0, "targetConstituent": 1, "sense": "Sayer"}, {"relationName": "ARG1", "s
rcConstituent": 0, "targetConstituent": 2, "sense": "Utterance"}, {"relationName": "ARG0", "srcConstituent": 4, "targetConstituent": 5, "sense": "caller"}, {"relationName": "ARG1", "srcConstituent": 4, "targetConstituent":
6, "sense": "item being labelled"}, {"relationName": "ARG1", "srcConstituent": 7, "targetConstituent": 8, "sense": "commodity"}, {"relationName": "ARGM-TMP", "srcConstituent": 7, "targetConstituent": 9, "sense": "Modifier
"}, {"relationName": "ARG0", "srcConstituent": 10, "targetConstituent": 11, "sense": "giver"}, {"relationName": "ARG2", "srcConstituent": 10, "targetConstituent": 12, "sense": "entity given to"}, {"relationName": "ARG1", "
srcConstituent": 10, "targetConstituent": 13, "sense": "thing given"}, {"relationName": "ARG0", "srcConstituent": 14, "targetConstituent": 15, "sense": "agent, entity participating"}, {"relationName": "ARG0", "srcConstitue
nt": 16, "targetConstituent": 17, "sense": "creator"}, {"relationName": "ARG1", "srcConstituent": 16, "targetConstituent": 18, "sense": "thing created"}]}]}, {"viewName": "SRL_NOM", "viewData": [{"viewType": "", "viewName"
: "SRL_NOM", "generator": "nominal_srl_pipeline", "score": 1.0, "constituents": [{"label": "Predicate", "score": 1.0, "start": 10, "end": 11, "properties": {"SenseNumber": "01", "predicate": "program", "sense": "ability-wi
th-agent"}}, {"label": "ARG1", "score": 1.0, "start": 9, "end": 10}, {"label": "Predicate", "score": 1.0, "start": 25, "end": 26, "properties": {"SenseNumber": "01", "predicate": "program", "sense": "ability-with-agent"}},
{"label": "ARG0", "score": 1.0, "start": 19, "end": 22}, {"label": "ARGM-LOC", "score": 1.0, "start": 24, "end": 25}, {"label": "Predicate", "score": 1.0, "start": 30, "end": 31, "properties": {"SenseNumber": "01", "predi
cate": "software", "sense": "work-of-art"}}, {"label": "ARG0", "score": 1.0, "start": 19, "end": 23}, {"label": "R-ARG0", "score": 1.0, "start": 28, "end": 29}, {"label": "Support", "score": 1.0, "start": 29, "end": 30}],
"relations": [{"relationName": "ARG1", "srcConstituent": 0, "targetConstituent": 1, "sense": "action"}, {"relationName": "ARG0", "srcConstituent": 2, "targetConstituent": 3, "sense": "agent"}, {"relationName": "ARGM-LOC",
"srcConstituent": 2, "targetConstituent": 4, "sense": "Modifier"}, {"relationName": "ARG0", "srcConstituent": 5, "targetConstituent": 6, "sense": "agent"}, {"relationName": "R-ARG0", "srcConstituent": 5, "targetConstituent
": 7, "sense": ""}, {"relationName": "Support", "srcConstituent": 5, "targetConstituent": 8, "sense": ""}]}]}, {"viewName": "SRL_NOM_ALL", "viewData": [{"viewType": "", "viewName": "SRL_NOM_ALL", "generator": "nominal_srl_
pipeline", "score": 1.0, "constituents": [{"label": "Predicate", "score": 1.0, "start": 6, "end": 7, "properties": {"SenseNumber": "01", "predicate": "company", "sense": "NA"}}, {"label": "ARG1", "score": 1.0, "start": 7,
"end": 15}, {"label": "Predicate", "score": 1.0, "start": 10, "end": 11, "properties": {"SenseNumber": "01", "predicate": "program", "sense": "ability-with-agent"}}, {"label": "ARG1", "score": 1.0, "start": 9, "end": 10},
{"label": "Predicate", "score": 1.0, "start": 17, "end": 18, "properties": {"SenseNumber": "01", "predicate": "company", "sense": "NA"}}, {"label": "Support", "score": 1.0, "start": 18, "end": 19}, {"label": "ARG1", "score
": 1.0, "start": 19, "end": 22}, {"label": "Predicate", "score": 1.0, "start": 21, "end": 22, "properties": {"SenseNumber": "01", "predicate": "startup", "sense": "NA"}}, {"label": "ARG1-REF", "score": 1.0, "start": 21, "e
nd": 22}, {"label": "ARGM-LOC", "score": 1.0, "start": 22, "end": 26}, {"label": "Predicate", "score": 1.0, "start": 25, "end": 26, "properties": {"SenseNumber": "01", "predicate": "program", "sense": "ability-with-agent"}
}, {"label": "ARG0", "score": 1.0, "start": 19, "end": 22}, {"label": "ARGM-LOC", "score": 1.0, "start": 24, "end": 25}, {"label": "Predicate", "score": 1.0, "start": 30, "end": 31, "properties": {"SenseNumber": "01", "pre
dicate": "software", "sense": "work-of-art"}}, {"label": "ARG0", "score": 1.0, "start": 19, "end": 23}, {"label": "R-ARG0", "score": 1.0, "start": 28, "end": 29}, {"label": "Support", "score": 1.0, "start": 29, "end": 30}]
, "relations": [{"relationName": "ARG1", "srcConstituent": 0, "targetConstituent": 1, "sense": "NA"}, {"relationName": "ARG1", "srcConstituent": 2, "targetConstituent": 3, "sense": "action"}, {"relationName": "Support", "s
rcConstituent": 4, "targetConstituent": 5, "sense": ""}, {"relationName": "ARG1", "srcConstituent": 4, "targetConstituent": 6, "sense": "NA"}, {"relationName": "ARG1-REF", "srcConstituent": 7, "targetConstituent": 8, "sens
e": "NA"}, {"relationName": "ARGM-LOC", "srcConstituent": 7, "targetConstituent": 9, "sense": "Modifier"}, {"relationName": "ARG0", "srcConstituent": 10, "targetConstituent": 11, "sense": "agent"}, {"relationName": "ARGM-L
OC", "srcConstituent": 10, "targetConstituent": 12, "sense": "Modifier"}, {"relationName": "ARG0", "srcConstituent": 13, "targetConstituent": 14, "sense": "agent"}, {"relationName": "R-ARG0", "srcConstituent": 13, "targetC
onstituent": 15, "sense": ""}, {"relationName": "Support", "srcConstituent": 13, "targetConstituent": 16, "sense": ""}]}]}, {"viewName": "PREPOSITION_SRL", "viewData": [{"viewType": "", "viewName": "PREPOSITION_SRL", "gene
rator": "preposition_srl_pipeline", "score": 1.0, "constituents": [{"label": "Predicate", "score": 1.0, "start": 7, "end": 8, "properties": {"SenseNumber": "NA", "predicate": "for", "sense": "NA"}}, {"label": "GOV", "score
": 1.0, "start": 5, "end": 7}, {"label": "OBJ", "score": 1.0, "start": 8, "end": 11}, {"label": "Predicate", "score": 1.0, "start": 13, "end": 14, "properties": {"SenseNumber": "NA", "predicate": "through", "sense": "NA"}}
, {"label": "GOV", "score": 1.0, "start": 11, "end": 13}, {"label": "OBJ", "score": 1.0, "start": 14, "end": 15}, {"label": "Predicate", "score": 1.0, "start": 22, "end": 23, "properties": {"SenseNumber": "NA", "predicate"
: "in", "sense": "NA"}}, {"label": "GOV", "score": 1.0, "start": 19, "end": 22}, {"label": "OBJ", "score": 1.0, "start": 23, "end": 26}], "relations": [{"relationName": "GOV", "srcConstituent": 0, "targetConstituent": 1, "
sense": "NA"}, {"relationName": "OBJ", "srcConstituent": 0, "targetConstituent": 2, "sense": "NA"}, {"relationName": "GOV", "srcConstituent": 3, "targetConstituent": 4, "sense": "NA"}, {"relationName": "OBJ", "srcConstitue
nt": 3, "targetConstituent": 5, "sense": "NA"}, {"relationName": "GOV", "srcConstituent": 6, "targetConstituent": 7, "sense": "NA"}, {"relationName": "OBJ", "srcConstituent": 6, "targetConstituent": 8, "sense": "NA"}]}]},
{"viewName": "NER_CONLL", "viewData": [{"viewType": "edu.illinois.cs.cogcomp.core.datastructures.textannotation.View", "viewName": "NER_CONLL", "generator": "Ltf2TextAnnotation", "score": 1.0, "constituents": [{"label": "O
RG", "score": 1.0, "start": 0, "end": 1}, {"label": "ORG", "score": 1.0, "start": 2, "end": 3}, {"label": "ORG", "score": 1.0, "start": 6, "end": 7}, {"label": "GPE", "score": 1.0, "start": 9, "end": 10}, {"label": "ORG",
"score": 1.0, "start": 17, "end": 18}, {"label": "ORG", "score": 1.0, "start": 21, "end": 22}, {"label": "GPE", "score": 1.0, "start": 24, "end": 25}]}]}, {"viewName": "Event_extraction", "viewData": [{"viewType": "edu.ill
inois.cs.cogcomp.core.datastructures.textannotation.PredicateArgumentView", "viewName": "event_extraction", "generator": "Event_ONTONOTES+NOM_MAVEN_Entity_CONLL02+03", "score": 1.0, "constituents": [{"event_id": "0_0_4", "
event_id_docLevel": "0_0_4", "start": 4, "end": 5, "start_sent_level": 4, "end_sent_level": 5, "properties": {"predicate": ["identify"], "SenseNumber": "01", "sentence_id": 0, "ARG0": {"entityType": "ORG", "mention": "it",
"start": 2, "end": 3, "argument_id": "0_0_2"}, "ARG1": {"mention": "three companies for the China program to run through June", "entityType": "NA", "argument_id": "0_0_5"}}, "label": "identify"}, {"event_id": "0_0_12", "e
vent_id_docLevel": "0_0_12", "start": 12, "end": 13, "start_sent_level": 12, "end_sent_level": 13, "properties": {"predicate": ["run"], "SenseNumber": "01", "sentence_id": 0, "ARG1": {"mention": "the China program", "entit
yType": "NA", "argument_id": "0_0_8"}, "ARGM-TMP": {"mention": "through June", "entityType": "NA", "argument_id": "0_0_13"}}, "label": "run"}, {"event_id": "0_1_2", "event_id_docLevel": "0_1_18", "start": 18, "end": 19, "s
tart_sent_level": 2, "end_sent_level": 3, "properties": {"predicate": ["give"], "SenseNumber": "01", "sentence_id": 1, "ARG0": {"mention": "The company", "entityType": "NA", "argument_id": "0_1_16"}, "ARG2": {"mention": "e
ach participating startup in the Seattle program", "entityType": "NA", "argument_id": "0_1_19"}, "ARG1": {"mention": "$ 20,000 to create software", "entityType": "NA", "argument_id": "0_1_26"}}, "label": "give"}, {"event_i
d": "0_1_4", "event_id_docLevel": "0_1_20", "start": 20, "end": 21, "start_sent_level": 4, "end_sent_level": 5, "properties": {"predicate": ["participate"], "SenseNumber": "01", "sentence_id": 1, "ARG0": {"entityType": "OR
G", "mention": "startup", "start": 21, "end": 22, "argument_id": "0_1_21"}}, "label": "participate"}, {"event_id": "0_1_13", "event_id_docLevel": "0_1_29", "start": 29, "end": 30, "start_sent_level": 13, "end_sent_level":
14, "properties": {"predicate": ["create"], "SenseNumber": "01", "sentence_id": 1, "ARG0": {"mention": "each participating startup in the Seattle program", "entityType": "NA", "argument_id": "0_1_19"}, "ARG1": {"mention":
"software", "entityType": "NA", "argument_id": "0_1_30"}}, "label": "create"}, {"event_id": "0_0_10", "event_id_docLevel": "0_0_10", "start": 10, "end": 11, "start_sent_level": 10, "end_sent_level": 11, "properties": {"pre
dicate": ["program"], "SenseNumber": "01", "sentence_id": 0, "ARG1": {"entityType": "GPE", "mention": "China", "start": 9, "end": 10, "argument_id": "0_0_9"}}, "label": "program"}, {"event_id": "0_1_9", "event_id_docLevel"
: "0_1_25", "start": 25, "end": 26, "start_sent_level": 9, "end_sent_level": 10, "properties": {"predicate": ["program"], "SenseNumber": "01", "sentence_id": 1, "ARG0": {"mention": "each participating startup", "entityType
": "NA", "argument_id": "0_1_19"}, "ARGM-LOC": {"entityType": "GPE", "mention": "Seattle", "start": 24, "end": 25, "argument_id": "0_1_24"}}, "label": "program"}, {"event_id": "0_1_14", "event_id_docLevel": "0_1_30", "star
t": 30, "end": 31, "start_sent_level": 14, "end_sent_level": 15, "properties": {"predicate": ["software"], "SenseNumber": "01", "sentence_id": 1, "ARG0": {"mention": "each participating startup in", "entityType": "NA", "ar
gument_id": "0_1_19"}, "R-ARG0": {"mention": "to", "entityType": "NA", "argument_id": "0_1_28"}, "Support": {"mention": "create", "entityType": "NA", "argument_id": "0_1_29"}}, "label": "software"}], "relations": []}]}]}