Friday, March 31, 2006

Travesty Generator.

The Travesty Generator creates a new text based on how often sequences of characters appear in the original text. For instance, for an order 3 travesty, the result is a text in which all combinations of three characters appear at roughly the same frequency as all three-letter combinations in the original text.
You understand this? Me neither!

Here's an example. Suppose the text is:
There was a fat turkey named Sam, who gobbled whenever he ran. He came out of the bush, presenting his tush, and was shot up the arse by a man.

The Travesty Generator created this new text:
There was shot up the by a fat tush, presenting his tush, presenting his turkey name out of the bush, and who gobbled was a man. He came out of the arse bush, presenting his turkey named who gobbled Sam


[ Travesty Generator ]