It's simple, you make an array of nouns, an array of adjectives, an array of verbs. You give it primitive rules regarding the structure of an English sentence. Then you invoke a pseudo-random number generator to choose which words in the array to choose at a given moment. Presto! You have a program that generates poetry. Can be done with the most primitive BASIC on the planet. No Artificial Intelligence of any kind required.

It's thought that using markov chains or garden path sentences sometimes make the poetry sound more real.

An early example of such a program is RACTER which wrote the best selling The Policeman's Beard is Half Constructed.

Another example is Ray Kurzweil's Cybernetic Poet aka RKCP.

Volumes of computer generated poetry include:

Related nodes:


Source: http://tommyrot.arrr.net/ComputerPoetry.html http://www.burningpress.org/toolbox/ Last Updated 08.06.04