lara-martin commited on
Commit
142f450
1 Parent(s): 3889146

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +40 -2
README.md CHANGED
@@ -18,14 +18,52 @@ Contains plot summaries from :
18
  * Futurama (https://futurama.fandom.com/wiki/Futurama_Wiki) - 87 stories
19
  * Stargate (https://stargate.fandom.com/wiki/Stargate_Wiki) - 351 stories
20
  * Star Trek (https://memory-alpha.fandom.com/wiki/Star_Trek) - 701 stories
21
- * Star Wars books (https://starwars.fandom.com/wiki/Main_Page) - 205 stories
22
  * Star Wars Rebels - 65 stories
23
  * X-Files (https://x-files.fandom.com/wiki/Main_Page) - 200 stories
24
 
25
  Total: 2276 stories
26
 
27
- Dataset is "eventified" and generalized (see LJ Martin, P Ammanabrolu, X Wang, W Hancock, S Singh, B Harrison, and MO Riedl. Event Representations for Automated Story Generation with Deep Neural Nets, Thirty-Second AAAI Conference on Artificial Intelligence (AAAI), 2018. for details on these processes.) and split into train-test-validation sets for converting events into full sentences.
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  ---
30
  Citation
31
  ---
 
18
  * Futurama (https://futurama.fandom.com/wiki/Futurama_Wiki) - 87 stories
19
  * Stargate (https://stargate.fandom.com/wiki/Stargate_Wiki) - 351 stories
20
  * Star Trek (https://memory-alpha.fandom.com/wiki/Star_Trek) - 701 stories
21
+ * Star Wars books (https://starwars.fandom.com/wiki/Main_Page) - 205 stories, each book is a story
22
  * Star Wars Rebels - 65 stories
23
  * X-Files (https://x-files.fandom.com/wiki/Main_Page) - 200 stories
24
 
25
  Total: 2276 stories
26
 
27
+ Dataset is "eventified" and generalized (see LJ Martin, P Ammanabrolu, X Wang, W Hancock, S Singh, B Harrison, and MO Riedl. Event Representations for Automated Story Generation with Deep Neural Nets, Thirty-Second AAAI Conference on Artificial Intelligence (AAAI), 2018. for details on these processes.) and split into train-test-validation sets---separated by story so that full stories will stay together---for converting events into full sentences.
28
 
29
+ ---
30
+ Format
31
+ ---
32
+ all-sci-fi-data.txt
33
+ --
34
+ * 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
35
+
36
+ e.g.,
37
+ > [[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').
38
+ * Stories end with <EOS> on its own line
39
+ * 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 "%%%%%%%%%%%%%%%%%".
40
+ e.g.,
41
+ > %%%%%%%%%%%%%%%%%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']})
42
+
43
+
44
+ all-sci-fi-val.txt, all-sci-fi-test.txt, & all-sci-fi-train.txt
45
+ --
46
+ * 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
47
+
48
+ e.g.,
49
+ > [[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').
50
+ * No <EOS> tags or dictionary.
51
+ * Separated 80-10-10 for train-test-val, but by story instead of individual lines.
52
+
53
+
54
+ Files ending with *_input.txt
55
+ --
56
+ * 5-tuple generalized event on each line; formatted as a string instead of a list
57
+
58
+ e.g.,
59
+ > <VESSEL>0 function-105.2.1 EmptyParameter Synset('atom.n.01') out
60
+
61
+ Files ending with *_output.txt
62
+ --
63
+ * Corresponding generalized sentence for events in the matching _input.txt file
64
+
65
+ e.g.,
66
+ > 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').
67
  ---
68
  Citation
69
  ---