lara-martin
commited on
Commit
•
a8874ba
1
Parent(s):
68a112d
README updated to reflect change in data format
Browse files
README.md
CHANGED
@@ -26,10 +26,7 @@ paperswithcode_id: scifi-tv-plots
|
|
26 |
## Table of Contents
|
27 |
- [Dataset Description](#dataset-description)
|
28 |
- [Format](#format)
|
29 |
-
- [
|
30 |
-
- [_all-sci-fi-data.txt_](#all-data)
|
31 |
-
- [Files in _Test-Train-Val_ Directory](#test-train-val)
|
32 |
-
- [Files in _Input_OutputFiles_ Directory](#input-output)
|
33 |
- [Files in _OriginalStoriesSeparated_ Directory](#original-stories)
|
34 |
- [Additional Information](#additional-information)
|
35 |
- [Citation](#citation)
|
@@ -63,51 +60,32 @@ Dataset is "eventified" and generalized (see LJ Martin, P Ammanabrolu, X Wang, W
|
|
63 |
| Test | 450 | 30,938 |
|
64 |
|
65 |
---
|
66 |
-
##
|
67 |
-
|
68 |
-
* Each
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
``
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
*
|
85 |
-
|
86 |
-
|
87 |
-
``
|
88 |
-
|
89 |
-
``
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
### Files in _Input_OutputFiles_ Directory
|
95 |
-
**Files ending with _*\_input.txt_**
|
96 |
-
* 5-tuple generalized event on each line; formatted as a string instead of a list
|
97 |
-
|
98 |
-
e.g.,
|
99 |
-
``
|
100 |
-
<VESSEL>0 function-105.2.1 EmptyParameter Synset('atom.n.01') out
|
101 |
-
``
|
102 |
-
|
103 |
-
**Files ending with _*\_output.txt_**
|
104 |
-
* Corresponding generalized sentence for events in the matching _input.txt file
|
105 |
-
|
106 |
-
e.g.,
|
107 |
-
``
|
108 |
-
the <VESSEL>0 is running out of Synset('atom.n.01') as a Synset('matter.n.03') and is forced to go into Synset('horse.n.01') Synset('statistic.n.01').
|
109 |
-
``
|
110 |
-
|
111 |
|
112 |
### Files in _OriginalStoriesSeparated_ Directory
|
113 |
* Contains unedited, unparsed original stories scraped from the respective Fandom wikis.
|
|
|
26 |
## Table of Contents
|
27 |
- [Dataset Description](#dataset-description)
|
28 |
- [Format](#format)
|
29 |
+
- [Dataset Structure](#dataset-structure)
|
|
|
|
|
|
|
30 |
- [Files in _OriginalStoriesSeparated_ Directory](#original-stories)
|
31 |
- [Additional Information](#additional-information)
|
32 |
- [Citation](#citation)
|
|
|
60 |
| Test | 450 | 30,938 |
|
61 |
|
62 |
---
|
63 |
+
## Dataset Structure
|
64 |
+
* File names: scifi-val.txt, scifi-test.txt, & scifi-train.txt
|
65 |
+
* Each sentence of the stories are split into smaller sentences and the events are extracted.
|
66 |
+
* Each line of the file contains information about a single sentence, delimited by "|||". Each line contains, in order:
|
67 |
+
* The story number
|
68 |
+
* The line number (within the story)
|
69 |
+
* 5-tuple events in a list (subject, verb, direct object, modifier noun, preposition)
|
70 |
+
``
|
71 |
+
[[u'Voyager', u'run', 'EmptyParameter', u'deuterium', u'out'], [u'Voyager', u'force', u'go', 'EmptyParameter', 'EmptyParameter'], [u'Voyager', u'go', 'EmptyParameter', u'mode', u'into']]
|
72 |
+
``
|
73 |
+
* generalized 5-tuple events in a list
|
74 |
+
``
|
75 |
+
[['<VESSEL>0', 'function-105.2.1', 'EmptyParameter', "Synset('atom.n.01')", u'out'], ['<VESSEL>0', 'urge-58.1-1', u'escape-51.1-1', 'EmptyParameter', 'EmptyParameter'], ['<VESSEL>0', u'escape-51.1-1', 'EmptyParameter', "Synset('statistic.n.01')", u'into']]
|
76 |
+
``
|
77 |
+
* original sentence
|
78 |
+
``
|
79 |
+
The USS Voyager is running out of deuterium as a fuel and is forced to go into Gray mode.
|
80 |
+
``
|
81 |
+
* generalized sentence
|
82 |
+
``
|
83 |
+
the <VESSEL>0 is running out of Synset('atom.n.01') as a Synset('matter.n.03') and is forced to go into Synset('horse.n.01') Synset('statistic.n.01').
|
84 |
+
``
|
85 |
+
* a dictionary of numbered entities by tag within the entire story (e.g. the second entity in the "<ORGANIZATION>" list in the dictionary would be <ORGANIZATION>1 in the story above—index starts at 0)
|
86 |
+
``
|
87 |
+
{'<ORGANIZATION>': ['seven of nine', 'silver blood'], '<LOCATION>': ['sickbay', 'astrometrics', 'paris', 'cavern', 'vorik', 'caves'], '<DATE>': ['an hour ago', 'now'], '<MISC>': ['selected works', 'demon class', 'electromagnetic', 'parises', 'mimetic'], '<DURATION>': ['less than a week', 'the past four years', 'thirty seconds', 'an hour', 'two hours'], '<NUMBER>': ['two', 'dozen', '14', '15'], '<ORDINAL>': ['first'], '<PERSON>': ['tom paris', 'harry kim', 'captain kathryn janeway', 'tuvok', 'chakotay', 'jirex', 'neelix', 'the doctor', 'seven', 'ensign kashimuro nozawa', 'green', 'lt jg elanna torres', 'ensign vorik'], '<VESSEL>': ['uss voyager', 'starfleet']}
|
88 |
+
``
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
|
90 |
### Files in _OriginalStoriesSeparated_ Directory
|
91 |
* Contains unedited, unparsed original stories scraped from the respective Fandom wikis.
|