lara-martin
commited on
Commit
•
cc095d3
1
Parent(s):
f7cb2df
Update README.md
Browse files
README.md
CHANGED
@@ -66,21 +66,21 @@ Dataset is "eventified" and generalized (see LJ Martin, P Ammanabrolu, X Wang, W
|
|
66 |
## Raw Dataset Structure
|
67 |
### _all-sci-fi-data.txt_
|
68 |
* Each line of the stories contains data in the format: 5-tuple events in a list (subject, verb, direct object, modifier noun, preposition) ||| generalized 5-tuple events in a list ||| original sentence ||| generalized sentence
|
69 |
-
|
70 |
[[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']]|||[['<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']]|||The USS Voyager is running out of deuterium as a fuel and is forced to go into Gray mode.|||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').
|
71 |
-
|
72 |
* Stories end with <EOS> (end of story) tag on its own line
|
73 |
* On the line after <EOS>, there is a defaultdict of entities found in the story by tag and in order (e.g. the second entity in the "<ORGANIZATION>" list in the dictionary would be <ORGANIZATION>1 in the story above—index starts at 0). These lines start with "%%%%%%%%%%%%%%%%%".
|
74 |
-
|
75 |
%%%%%%%%%%%%%%%%%defaultdict(<type 'list'>, {'<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']})
|
76 |
-
|
77 |
|
78 |
### Files in _Test-Train-Val_ Directory
|
79 |
* File names: all-sci-fi-val.txt, all-sci-fi-test.txt, & all-sci-fi-train.txt
|
80 |
* Each line of the stories contains data in the format: 5-tuple events in a list ||| generalized 5-tuple events in a list ||| original sentence ||| generalized sentence
|
81 |
-
|
82 |
[[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']]|||[['<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']]|||The USS Voyager is running out of deuterium as a fuel and is forced to go into Gray mode.|||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').
|
83 |
-
|
84 |
* No <EOS> tags or dictionary.
|
85 |
* Separated 80-10-10 for train-test-val, but by story instead of individual lines.
|
86 |
|
@@ -88,15 +88,15 @@ Dataset is "eventified" and generalized (see LJ Martin, P Ammanabrolu, X Wang, W
|
|
88 |
### Files in _Input_OutputFiles_ Directory
|
89 |
**Files ending with _*\_input.txt_**
|
90 |
* 5-tuple generalized event on each line; formatted as a string instead of a list
|
91 |
-
|
92 |
<VESSEL>0 function-105.2.1 EmptyParameter Synset('atom.n.01') out
|
93 |
-
|
94 |
|
95 |
**Files ending with _*\_output.txt_**
|
96 |
* Corresponding generalized sentence for events in the matching _input.txt file
|
97 |
-
|
98 |
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').
|
99 |
-
|
100 |
|
101 |
|
102 |
### Files in _OriginalStoriesSeparated_ Directory
|
|
|
66 |
## Raw Dataset Structure
|
67 |
### _all-sci-fi-data.txt_
|
68 |
* Each line of the stories contains data in the format: 5-tuple events in a list (subject, verb, direct object, modifier noun, preposition) ||| generalized 5-tuple events in a list ||| original sentence ||| generalized sentence
|
69 |
+
``
|
70 |
[[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']]|||[['<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']]|||The USS Voyager is running out of deuterium as a fuel and is forced to go into Gray mode.|||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').
|
71 |
+
``
|
72 |
* Stories end with <EOS> (end of story) tag on its own line
|
73 |
* On the line after <EOS>, there is a defaultdict of entities found in the story by tag and in order (e.g. the second entity in the "<ORGANIZATION>" list in the dictionary would be <ORGANIZATION>1 in the story above—index starts at 0). These lines start with "%%%%%%%%%%%%%%%%%".
|
74 |
+
``
|
75 |
%%%%%%%%%%%%%%%%%defaultdict(<type 'list'>, {'<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']})
|
76 |
+
``
|
77 |
|
78 |
### Files in _Test-Train-Val_ Directory
|
79 |
* File names: all-sci-fi-val.txt, all-sci-fi-test.txt, & all-sci-fi-train.txt
|
80 |
* Each line of the stories contains data in the format: 5-tuple events in a list ||| generalized 5-tuple events in a list ||| original sentence ||| generalized sentence
|
81 |
+
``
|
82 |
[[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']]|||[['<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']]|||The USS Voyager is running out of deuterium as a fuel and is forced to go into Gray mode.|||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').
|
83 |
+
``
|
84 |
* No <EOS> tags or dictionary.
|
85 |
* Separated 80-10-10 for train-test-val, but by story instead of individual lines.
|
86 |
|
|
|
88 |
### Files in _Input_OutputFiles_ Directory
|
89 |
**Files ending with _*\_input.txt_**
|
90 |
* 5-tuple generalized event on each line; formatted as a string instead of a list
|
91 |
+
``
|
92 |
<VESSEL>0 function-105.2.1 EmptyParameter Synset('atom.n.01') out
|
93 |
+
``
|
94 |
|
95 |
**Files ending with _*\_output.txt_**
|
96 |
* Corresponding generalized sentence for events in the matching _input.txt file
|
97 |
+
``
|
98 |
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').
|
99 |
+
``
|
100 |
|
101 |
|
102 |
### Files in _OriginalStoriesSeparated_ Directory
|