Is it possible to programmatically convert regular English into English haiku? Or is this something too complicated to contemplate? I have a feeling that this is a lot more involved than a Pig Latin formatter.
Is it possible to programmatically convert regular English into English haiku? Or is this
Share
You’d first need to find a way to count the number of syllables in a given word, take a look at the answers in Detecting Syllables in a Word.
Keep in the mind the top voted answer references an entire thesis, so this is definitely more involved than a pig latin formatter.