A python script that uses markov chains and nGrams to generate texts (for example, presidential speeches), based on source examples.
Easy to use as a python module. Just input source texts, and see the algorithm generate randomized ones based on them.
Yields funny results, even when they're nonsensical.