Skip to content

Pravin Paratey

Natural Language Processing, Data mining and Information Extraction consultant based in London.

Dec 29 2006
Dec 29 2006

Limerick Generator - Part I

Synopsis

The following code demonstrates an alien limerick generator. Alien because it does not generate meaningful words. In part II, we'll see how we can add meaningful words.

Code

You can view the code and see it in action here.

Sample Output

orraxa iz hoxori upifoc awhapo ed
ceva ovat ujbazo arli du caded
uc iqek suenvo
zaek ammiip edbeuvo
moix beak kuefyo irogno iluyox xoiqged

Latest Articles