Skip to content

๐Ÿ–‹๏ธ ๐Ÿ“œ Procedurally generated Shakespearean sonnets. First-prize winner of the 2017 USU Hackathon.

License

Notifications You must be signed in to change notification settings

LuxMiranda/will-ai-shakespeare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

85 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Will A.I. Shakespeare

Will A.I. Shakespeare is a procedural Shakespearean sonnet generator written in 36 hours at the 2017 Utah State University Hackathon. It utilizes the capabilites of the Natural Language Toolkit to write poetry following the strict meter and rhyme-scheme requirements of Shakespeare's sonnets. It relies on Shakespeare's sonnets themselves to provide vocabulary and aide in the random generation of grammatical structures.

It took first place in the Hackathon's "General" category and also scored the greatest number of points overall.

We also threw in a script that does this: Will-Ai-Sonnet

Installation

Requires Python 2.7 and associated pip

sudo pip install nltk pronouncing
git clone https://github.com/LuxMiranda/will-ai-shakespeare
cd will-ai-shakespeare
python download_reqs.py

Usage

To generate a new sonnet:

python shakespeare.py

To generate a new sonnet and save to a .jpg superimposed over blurry Shakespeare:

./generate.sh

About

๐Ÿ–‹๏ธ ๐Ÿ“œ Procedurally generated Shakespearean sonnets. First-prize winner of the 2017 USU Hackathon.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •