Sonnet Generator

Generate a random Shakespearean Sonnet

Sonnet Generator

Sonnet Generator

Randomly generated Shakespearean sonnets created using a Markov chain. This program uses Shakespeare's 154 sonnets as a base to generate new ones.

The text is analyzed and a Markov chain is built, from there you can use the chain to generate a random sonnet based on a threshold. The threshhold determines how fuzzy the choice-making is. The smaller the threshold, the more 'acurate' it is, but you will get less variation.

You can find the code on Github.

Contact Me