Skip to content

rossgoodwin/sonnetizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sonnetizer

Sonnetizer is a program written by Ross Goodwin that generates 14-line rhyming sonnets from any text corpus. It requires Python 2.7, nltk, numpy, and some other standard Python modules to run properly.

Four versions of Sonnetizer currently exist: sonnetizer_a, sonnetizer_g, sonnetizer_m, and poetron.

To run Sonnetizer, download the files along with any text corpus you wish to sonnetize, and enter the following in the command prompt:

$ python [sonnetizer file].py [text corpus].txt
  • sonnetizer_a.py allows for computer-assisted writing.
  • sonnetizer_g.py generates 14-line sonnets with 10-syllable lines and the standard ABABCDCDEFEFGG rhyme scheme.
  • sonnetizer_m.py generates 14-line sonnets, mostly in iambic pentameter, with 10-syllable lines and the standard ABABCDCDEFEFGG rhyme scheme.
  • poetron.py generates 14-line sonnets with 6-word lines and the standard ABABCDCDEFEFGG rhyme scheme.

About

Generates rhyming sonnets in (mostly) iambic pentameter from any text corpus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages