Assignment: Create your own poetry generator using these techniques. Use one of the generators implemented in this notebook as a starting point for your creation.
One of the most intriguing things for me at ITP is the course offering. Each class is eclectic in its own way. When reading the class descriptions, I always feel like I can only understand so much as they are so new to me. At the same time, having participated in different classes this semester, I find that the classes are intertwined and the knowledge can be applied with each other.
These thoughts lead me to create this ITP Course Mashup based on all the classes I’m taking here at ITP this semester.
I took the following elements from the original notebook and changed them to mimic the course description given to us at the beginning of the semester.
- Split – split passage into separate words
- Random – select random words from list
- Random range – random number (for amount of credits)
- Text wrap – putting texts together as a passage
- Capitalize – turn texts into sentence case
It was difficult to get the course description to go beyond ‘Dadaism’ with the random function. Therefore, for future development I’d like to work on the following.
- Categorize words into nouns / verbs / adjectives
- Eliminate repeated words
I had a lot more fun than I thought. Shuffling texts with preconceived notion is very entertaining.
Code: https://github.com/hellonun/rwet/blob/master/itp_course_mashup.ipynb
Example results: