From Trammell Hudson's Projects
Markov Star Trek Episodes
This bit of code generate new episodes of Star Trek using Markov chains. I've posted some of the better ones on @MarkovTrek. Most of them are awful and ungramatical since it is using a single word association.
kirk and spock must defuse a mining planet declared forbidden by pacifists.
sulu are stranded on a bizarre series of unknown design and must deflect an oncoming asteroid.
spock and sulu are stranded on an alien beings from the enterprise, kirk and spock encounter flint, a starship of vulcan and the galaxy.
sulu are stranded on a former lovers, steals his beautiful romulan commander.
Source code github/osresearch/markovtrek