@jenniferplusplus @hrefna A very long time ago, I wrote a haiku generator in Prolog as a dumb little Sunday afternoon project.
After manually setting up a bunch of (word, word class, syllable count) triples, I decided to see if there was some neat way I could automate identifying and counting syllables. The first search results were actual PhD theses on it, so I figured "neat" was off the table and declared it out of scope.
BTW:
hot processor runs
wonderful byte of error
cold processor sleeps.