Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How would you write a program to generate Haiku? [closed]

Tags:

algorithm

Computer Haiku
How would you write a program
To make them for you

like image 584
joeforker Avatar asked Feb 02 '09 19:02

joeforker


People also ask

What is haiku Generator?

Poem Generator A Haiku is a short Japanese poem used to evoke images. Our Haiku generator lets you choose a few words then it automatically counts the syllables and brings in synonyms where necessary, to help fit the 5-7-5 poetic style.

How do you write a haiku syllable?

Haiku is composed of only 3 lines. 3. Typically, every first line of Haiku has 5 syllables, the second line has 7 syllables, and the third has 5 syllables.


2 Answers

Measure syllables
Understand semantic flow
Your goal can be met

like image 196
patros Avatar answered Oct 14 '22 17:10

patros


Do not attempt it
Poetry does not mix well
With metal and bits

More seriously, good haiku (and even bad haiku) is a lot more about condensing meaning and imagery than counting syllables. It is generally also based on themes gathered from nature. Random word generation and syllable counting will get you measured gibberish, but not poetry...

like image 40
Jeff Kotula Avatar answered Oct 14 '22 19:10

Jeff Kotula