PyCon Pittsburgh. April 15-23, 2020.

Tutorial: Nonsense verse (and other creative uses of spelling) with Python and machine learning

Presented by:

Allison Parrish


When Lewis Carroll wrote “Jabberwocky,” how did he know how to spell “Jabberwock”? Why are some words (like “cellar door”) considered to be pleasant, while others (“pulchritude,” “regurgitate”) ugly and harsh? In this tutorial, we’ll learn how to use Pincelate, a Python library and machine learning model, to analyze the sounds of words, and generate new words with particular phonetic characteristics.


Watch on YouTube