Inspiration
Haikus are beautiful aren't they? But making a haiku is quite difficult to be honest! Now how do we automate that? A simple python script? Maybe yes! A quick google search led me to a lot of articles dealing with NLP to generate haikus. Well I thought lets make it easy and use some wordlists and the random library from python.
What it does
Its a basic script that generates a Haiku every time its run. The word list is limited, which we expect to expand by adding excerpts from famous texts.
How we built it
We used the "random" python library and three lists to generate a combination of them, that results in a 5-7-5 Haiku!
Challenges we ran into
All the relevant solutions on google were dealing with NLP and other deep learning methodologies, but we wanted to do something straight forward and simple, and hence we came across this solution.
Built With
- python
- random
Log in or sign up for Devpost to join the conversation.