Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rory660/storyarcplotter
Graphs the level of emotion over time in a piece of literature to help visualise the story arc.
https://github.com/rory660/storyarcplotter
python3 shakespeare-plays
Last synced: about 2 months ago
JSON representation
Graphs the level of emotion over time in a piece of literature to help visualise the story arc.
- Host: GitHub
- URL: https://github.com/rory660/storyarcplotter
- Owner: rory660
- License: gpl-3.0
- Created: 2018-01-22T08:07:31.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-07T16:04:31.000Z (almost 7 years ago)
- Last Synced: 2023-10-27T12:35:07.056Z (about 1 year ago)
- Topics: python3, shakespeare-plays
- Language: Python
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# StoryArcPlotter
Graphs the level of emotion over time in a piece of literature to help visualise its story arc.Specifically designed for use with the Shakespeare plays hosted at [shakespeare.mit.edu](http://shakespeare.mit.edu/)
![Example](https://user-images.githubusercontent.com/30571778/35486629-ab3e46b0-0468-11e8-8708-476ad0e9c8b7.png)
## Usage
Requirements:
+ Python 3
+ matplotlib
+ An internet connectionWhen running the script, choose a number corresponding to one of the shakespeare plays shown by the program. A graph will then be generated.
![Play selection](https://user-images.githubusercontent.com/30571778/35486630-b0e1e68a-0468-11e8-8f97-6a835a45c4d4.png)
### Notes
This script makes use of the AFINN sentiment dataset by Finn Årup Nielsen, under the ["Open Database License (ODbL) v1.0"](http://www.opendatacommons.org/licenses/odbl/1.0/)