Build a Bot: A Toy that Makes You Think

Screenshot of KJVBot Twitter page

An h.lab DIY tutorial by Timothy Beal and Michael Hemenway.

Learn how to build a text bot in the coding language of Python. The one you make here autogenerates its own biblical-ish verses based on the King James Version Bible. You can then take it home and experiment with other textual corpuses (see, e.g., twitter.com/emilymarkovson which uses the program to write and tweet four-line poems based on the complete works of Emily Dickinson). As fun as it is to play with, this program also provokes questions and issues about writing, probability, and what we might call “artificial creativity.”

Video presentation by Tim and Michael here.

Colab notebook here.