Dec 28
2006
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


Uoivx CUOIDU dfdsd fd c gdfds cds. SEgfews cgre t cds gesgs oi!
In comments to part II, we will write meaningful comments.
[The techno-gr ...zzz] jereuj zuayoj uh nued isiwus!
:p seriously lass, you should come up with a shorter name for yourself.
how about just greek? or reek? or EEEEKS! =))
this looks interesting ..
LOL @ technogreek’s comment
hey rather than coming up meaningful words how about giving meanings to the words generated
in the end we’ll have our own ‘alien lingo’
[richa]
not really, it isnt. unless you’re into such stuff, programming is *boring*
[ashish] nice idea! though, it’ll be hard to propagate this new language.
or it can be like calvin-ball
Actually, pravin, if you look at the link attached to my comment, you’ll know who I am. A being of many names, none of them all me.
Crap…so much for talking sense in the new year. Heppy noo yurr!
[Techno-greek] Give me some credit. I did that already! =P
Suffering from MPD are we?
I meant, you could come up with shorter names than ‘The Techno-Greek’ and ‘The Idea-Smith’
Hey, why not use extract words out of a word list or a dict file, and then apply your code?
Throw in a few random verbs, and maybe like the Shakespeare’s monkeys, you might just hit a few good limericks…
But then again, that’s just a conjecture…
Cheers!
Shri.
Shrikant Joshi: There are some really neat ways of generating meaningful sentences. I’m learning NLP now and hopefully I will pick this up one day and make Part II.