lara-martin commited on
Commit
4fbc307
1 Parent(s): eb14996

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +56 -48
README.md CHANGED
@@ -2,7 +2,7 @@
2
  language_creators:
3
  - found
4
  languages:
5
- - en-US
6
  licenses:
7
  - cc-by-4.0
8
  multilinguality:
@@ -20,87 +20,95 @@ tags:
20
  - Story Generation
21
  paperswithcode_id: scifi-tv-plots
22
  ---
23
- Dataset Description
24
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  A collection of long-running (80+ episodes) science fiction TV show plot synopses, scraped from Fandom.com wikis. Collected Nov 2017. Each episode is considered a "story".
26
 
27
- Contains plot summaries from :
28
- * Babylon 5 (https://babylon5.fandom.com/wiki/Main_Page) - 84 stories
29
- * Doctor Who (https://tardis.fandom.com/wiki/Doctor_Who_Wiki) - 311 stories
30
- * Doctor Who spin-offs - 95 stories
31
- * Farscape (https://farscape.fandom.com/wiki/Farscape_Encyclopedia_Project:Main_Page) - 90 stories
32
- * Fringe (https://fringe.fandom.com/wiki/FringeWiki) - 87 stories
33
- * Futurama (https://futurama.fandom.com/wiki/Futurama_Wiki) - 87 stories
34
- * Stargate (https://stargate.fandom.com/wiki/Stargate_Wiki) - 351 stories
35
- * Star Trek (https://memory-alpha.fandom.com/wiki/Star_Trek) - 701 stories
36
- * Star Wars books (https://starwars.fandom.com/wiki/Main_Page) - 205 stories, each book is a story
37
- * Star Wars Rebels - 65 stories
38
- * X-Files (https://x-files.fandom.com/wiki/Main_Page) - 200 stories
39
 
40
  Total: 2276 stories
41
 
42
- 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.
43
 
44
  ---
45
- Format
46
- ---
47
- _all-sci-fi-data.txt_
48
- --
49
  * 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
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.,
66
- > [[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').
67
  * No <EOS> tags or dictionary.
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
  **Files ending with _*\_input.txt_**
74
  * 5-tuple generalized event on each line; formatted as a string instead of a list
 
 
 
75
 
76
- e.g.,
77
- > <VESSEL>0 function-105.2.1 EmptyParameter Synset('atom.n.01') out
78
-
79
  **Files ending with _*\_output.txt_**
80
  * Corresponding generalized sentence for events in the matching _input.txt file
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
- ---
 
94
  @inproceedings{Ammanabrolu2020AAAI,
95
  title={Story Realization: Expanding Plot Events into Sentences},
96
  author={Prithviraj Ammanabrolu and Ethan Tien and Wesley Cheung and Zhaochen Luo and William Ma and Lara J. Martin and Mark O. Riedl},
97
- journal={Proceedings of the AAAI Conference on Artificial Intelligence},
98
  year={2020},
99
  volume={34},
100
  number={05},
101
  url={https://ojs.aaai.org//index.php/AAAI/article/view/6232}
102
  }
 
103
  ---
104
- Licensing
105
- ---
106
  The Creative Commons Attribution 4.0 International License. https://creativecommons.org/licenses/by/4.0/
 
2
  language_creators:
3
  - found
4
  languages:
5
+ - en
6
  licenses:
7
  - cc-by-4.0
8
  multilinguality:
 
20
  - Story Generation
21
  paperswithcode_id: scifi-tv-plots
22
  ---
23
+
24
+ # Dataset Card for Science Fiction TV Show Plots Corpus
25
+
26
+ ## Table of Contents
27
+ - [Dataset Description](#dataset-description)
28
+ - [Dataset Structure](#dataset-structure)
29
+ - [_all-sci-fi-data.txt_](#all-data)
30
+ - [Files in _Test-Train-Val_ Directory](#test-train-val)
31
+ - [Files in _Input_OutputFiles_ Directory](#input-output)
32
+ - [Files in _OriginalStoriesSeparated_ Directory](#original-stories)
33
+ - [Additional Information](#additional-information)
34
+ - [Citation](#citation)
35
+ - [Licensing](#licensing)
36
+
37
+ ## Dataset Description
38
  A collection of long-running (80+ episodes) science fiction TV show plot synopses, scraped from Fandom.com wikis. Collected Nov 2017. Each episode is considered a "story".
39
 
40
+ Contains plot summaries from:
41
+ - Babylon 5 (https://babylon5.fandom.com/wiki/Main_Page) - 84 stories
42
+ - Doctor Who (https://tardis.fandom.com/wiki/Doctor_Who_Wiki) - 311 stories
43
+ - Doctor Who spin-offs - 95 stories
44
+ - Farscape (https://farscape.fandom.com/wiki/Farscape_Encyclopedia_Project:Main_Page) - 90 stories
45
+ - Fringe (https://fringe.fandom.com/wiki/FringeWiki) - 87 stories
46
+ - Futurama (https://futurama.fandom.com/wiki/Futurama_Wiki) - 87 stories
47
+ - Stargate (https://stargate.fandom.com/wiki/Stargate_Wiki) - 351 stories
48
+ - Star Trek (https://memory-alpha.fandom.com/wiki/Star_Trek) - 701 stories
49
+ - Star Wars books (https://starwars.fandom.com/wiki/Main_Page) - 205 stories, each book is a story
50
+ - Star Wars Rebels - 65 stories
51
+ - X-Files (https://x-files.fandom.com/wiki/Main_Page) - 200 stories
52
 
53
  Total: 2276 stories
54
 
55
+ 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.
56
 
57
  ---
58
+ ## Dataset Structure
59
+ ### _all-sci-fi-data.txt_
 
 
60
  * 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
61
+ ```
62
+ [[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').
63
+ ```
64
  * Stories end with &lt;EOS> (end of story) tag on its own line
65
+ * On the line after &lt;EOS>, there is a defaultdict of entities found in the story by tag and in order (e.g. the second entity in the "&lt;ORGANIZATION>" list in the dictionary would be &lt;ORGANIZATION>1 in the story above&mdash;index starts at 0). These lines start with "%%%%%%%%%%%%%%%%%".
66
+ ```
67
+ %%%%%%%%%%%%%%%%%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']})
68
+ ```
69
 
70
+ ### Files in _Test-Train-Val_ Directory
 
 
71
  * File names: all-sci-fi-val.txt, all-sci-fi-test.txt, & all-sci-fi-train.txt
72
  * 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
73
+ ```
74
+ [[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').
75
+ ```
76
  * No &lt;EOS> tags or dictionary.
77
  * Separated 80-10-10 for train-test-val, but by story instead of individual lines.
78
 
79
 
80
+ ### Files in _Input_OutputFiles_ Directory
 
81
  **Files ending with _*\_input.txt_**
82
  * 5-tuple generalized event on each line; formatted as a string instead of a list
83
+ ```
84
+ <VESSEL>0 function-105.2.1 EmptyParameter Synset('atom.n.01') out
85
+ ```
86
 
 
 
 
87
  **Files ending with _*\_output.txt_**
88
  * Corresponding generalized sentence for events in the matching _input.txt file
89
+ ```
90
+ 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').
91
+ ```
92
 
93
 
94
+ ### Files in _OriginalStoriesSeparated_ Directory
 
95
  * Contains unedited, unparsed original stories scraped from the respective Fandom wikis.
96
  * Each line is a story with sentences space-separated. After each story, there is a &lt;EOS> tag on a new line.
97
  * There is one file for each of the 11 domains listed above.
98
  ---
99
+ ## Additional Information
100
+ ### Citation
101
+ ```
102
  @inproceedings{Ammanabrolu2020AAAI,
103
  title={Story Realization: Expanding Plot Events into Sentences},
104
  author={Prithviraj Ammanabrolu and Ethan Tien and Wesley Cheung and Zhaochen Luo and William Ma and Lara J. Martin and Mark O. Riedl},
105
+ journal={Proceedings of the AAAI Conference on Artificial Intelligence (AAAI)},
106
  year={2020},
107
  volume={34},
108
  number={05},
109
  url={https://ojs.aaai.org//index.php/AAAI/article/view/6232}
110
  }
111
+ ```
112
  ---
113
+ ### Licensing
 
114
  The Creative Commons Attribution 4.0 International License. https://creativecommons.org/licenses/by/4.0/