Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Intriguing. How did you get it to fit the syllable count?


I forget now and can't find the code, but if I recall correctly, I had each tokenized word map to its syllables and used that in calculating the next word.

I wasn't able to get far enough to make each haiku make perfect grammatical sense, but it very often produced interesting results.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: