You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
The research fairy 5ffa3bd8b3 Added "replacethis" 2 years ago
LICENSE Initial commit 2 years ago Fleshed out the README a bit 2 years ago Added "replacethis" 2 years ago Scripts for extracting lines and generating shanties 2 years ago Fixed problem with logic 2 years ago


What does it do?

This is a bot that takes lyrics from corpus.txt, and generates sentences based on a Markov chain trained on that text.

This repeats until it has generated two stanzas, each with four lines with an ABAB/CDCD rhyming structure and roughly similar numbers of syllables.

It then posts the completed two stanza sea shanty to Mastodon under a content warning.

To make this work on a regular basis, just set a cron job to tell it to post when you want it to.


Update: Just in case there's a problem, I added a script that allows me to delete bad sea shanties, because YOU NEVER KNOW when a bot will say something bad.

Live version

See for a live version

I took the sea shanties from to build the corpus