Pyambic Pentameter - Generating Rhyming and Metered Poems
Offered By: PyCon US via YouTube
Course Description
Overview
Explore the fascinating intersection of poetry and programming in this PyCon US talk. Discover how to leverage Python's Natural Language Toolkit (NLTK) and Markov chain random text generation to create poems with both rhyme and meter. Learn the fundamentals of poetry, including rhyme schemes and meter, and see how these concepts can be implemented in code. Follow along as the speaker demonstrates the process of generating random text based on source material, enhancing it with NLTK, and ultimately producing a computer-generated Shakespearean sonnet. Gain insights into this beginner-friendly project that offers ample opportunities for creativity and further exploration. Access the accompanying slides and code on GitHub to dive deeper into the world of computational poetry.
Syllabus
Introduction
Poetry 101
Markov Chain Generation
Natural Language Toolkit
Rhyme
Meter
Live demo
Taught by
PyCon US
Related Courses
Intro to Python for Brand New ProgrammersPyCon US via YouTube Comprehending Comprehensions
PyCon US via YouTube Data Analysis with SQLite and Python
PyCon US via YouTube Build a Production Ready GraphQL API Using Python
PyCon US via YouTube Web Development With A Python-backed Frontend - Featuring HTMX and Tailwind
PyCon US via YouTube