See http://www.sincity.com/penn-n-teller/pcc/shaney.html ''(BrokenLink 2005-04-18)''and http://www.strout.net/python/tidbits.html#shaney

''from above ...''

This [python] script, by GregMcFarlane, implements MarkEllison's infamous Mark V. Shaney text-generating robot. Given some example text,
Shaney will generate random text in a similar style. When given a large collection of messages such as a newsgroup or
mailing list digest, it can generate some uncannily lively discussion. 

See also MegaHal, a similar (but somewhat more sophisticated)
program.