Statistically Probable Ancient Wisdom

I’m pleased to announce the launch of my latest Mastodon bot, Sun Tzu’s The Art of eBooks . It’s a Markov chain bot trained on (you guessed it) The Art of War.

I’ve also published the code on GitLab, as a simple starting point if others want to stand up a Markov bot with their own corpus.

For future development, I’m curious to make or see a tool to import an old Twitter archive and reformat it into a one-line-per-post text file, the format this script expects.

The code lives on my GitLab at https://gitlab.com/eroosenmaallen/sun-tzu-ebooks.

As always, feedback is welcome!

Author: Eddie Roosenmaallen

By day I'm a senior backend engineer at Deel. In my off time I explore Linux, JavaScript and the web, and I try to share some of my knowledge and some of my humour online.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.