lara-martin
commited on
Commit
•
c7c94d3
1
Parent(s):
23a2a3c
Update README.md
Browse files
README.md
CHANGED
@@ -50,15 +50,16 @@ all-sci-fi-data.txt
|
|
50 |
|
51 |
e.g.,
|
52 |
> [[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').
|
53 |
-
* Stories end with <EOS> on its own line
|
54 |
* 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 "%%%%%%%%%%%%%%%%%".
|
55 |
|
56 |
e.g.,
|
57 |
> %%%%%%%%%%%%%%%%%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']})
|
58 |
|
59 |
|
60 |
-
|
61 |
--
|
|
|
62 |
* 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
|
63 |
|
64 |
e.g.,
|
@@ -67,7 +68,7 @@ e.g.,
|
|
67 |
* Separated 80-10-10 for train-test-val, but by story instead of individual lines.
|
68 |
|
69 |
|
70 |
-
Files
|
71 |
--
|
72 |
* 5-tuple generalized event on each line; formatted as a string instead of a list
|
73 |
|
@@ -80,6 +81,13 @@ Files ending with *_output.txt
|
|
80 |
|
81 |
e.g.,
|
82 |
> 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 |
Citation
|
85 |
---
|
|
|
50 |
|
51 |
e.g.,
|
52 |
> [[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').
|
53 |
+
* Stories end with <EOS> (end of story) tag on its own line
|
54 |
* 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 "%%%%%%%%%%%%%%%%%".
|
55 |
|
56 |
e.g.,
|
57 |
> %%%%%%%%%%%%%%%%%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']})
|
58 |
|
59 |
|
60 |
+
Files in Test-Train-Val Directory
|
61 |
--
|
62 |
+
* File names: all-sci-fi-val.txt, all-sci-fi-test.txt, & all-sci-fi-train.txt
|
63 |
* 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
|
64 |
|
65 |
e.g.,
|
|
|
68 |
* Separated 80-10-10 for train-test-val, but by story instead of individual lines.
|
69 |
|
70 |
|
71 |
+
Files in Input_OutputFiles Directory
|
72 |
--
|
73 |
* 5-tuple generalized event on each line; formatted as a string instead of a list
|
74 |
|
|
|
81 |
|
82 |
e.g.,
|
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 |
+
|
86 |
+
Files in OriginalStoriesSeparated Directory
|
87 |
+
--
|
88 |
+
* Contains unedited, unparsed original stories scraped from the respective Fandom wikis.
|
89 |
+
* Each line is a story with sentences space-separated. After each story, there is a <EOS> tag on a new line.
|
90 |
+
* There is one file for each of the 11 domains listed above.
|
91 |
---
|
92 |
Citation
|
93 |
---
|