thinkzone.wlonk.com

Poem Generator

This makes random poems.
You can choose one of the sample sets of words and sentence patterns or you can enter your own words and sentence patterns.

Word Lists
Samples:
1

2

3

4

5

6

7

8

9

Sentence Patterns

Algorithm: First, it randomly selects a sentence pattern from the pattern list. Then, wherever the pattern has a number, it randomly selects a word from one of the numbered word lists.

You can see the source code in PoemGen.htm and PoemGen.js (JavaScript).