3 ms·
Seems like poetry is something that could be automated fairly easily. For example a limerick is: (1) u u S u u S u S (2) u u S u u S u S (3) u S u u S (4) u S
by csense 11y ago
Seems like poetry is something that could be automated fairly easily.
For example a limerick is:
(1) u u S u u S u S
(2) u u S u u S u S
(3) u S u u S
(4) u S u u S
(5) S u u S u u S
where u means unstressed syllable and S means stressed syllable. With the additional constraints that the last symbol in lines {1,2,5} and {3,4} form rhyming sets.
Would be straightforward to build, once you have information about rules for stressed / unstressed syllables and rhyming. Use a grammar checker to make sure the result makes some kind of linguistic sense.
- patrickaljord 11y agohttp://thinkzone.wlonk.com/PoemGen/PoemGen.htm http://thinkzone.wlonk.com/PoemGen/PoemGen.htm