This page last updated 5th November 2001.
The Adjunct Travesty is modelled on the original TRAVESTY program, written by Hugh Kenner and Joseph O'Rourke. Here is Kenner's description, quoted without permission from the Afterword to the Book Sentences by Charles O Hartman and Hugh Kenner (Los Angeles, Sun & Moon Press 1995):
In the November 1984 BYTE Hugh Kenner and Joseph O'Rourke published a program called TRAVESTY (based on a long-ago idea from the Father of Information Theory, Claude Shannon), which in working its way through a text gives us something recognizably similar yet oddly skewed. You supply TRAVESTY with an "Order"; if the order is 4, it seeks out every occurrence of the initial 4-character sequence and records the character that comes after. It then chooses at random from its notepad one character to append, moves forward one place, repeats the whole process.... (If you buy many lottery tickets your chances improve. Likewise, a most-frequent-character in the notepad is the likeliest to be chosen.)
Thus if the text begins with the word "Sentences" and the order is 4, TRAVESTY....after inspecting every instance of /Sent/ (e.g. "present", "sentience", "consent")....might well find a high proportion of trailing spaces and choose to append a space: /Sent/ . Spacing forward, it would then inspect every instance of /ent / with the same numb purpose...and on and on until delivery of as much output we'd asked for. (p.77f.)
The version of TRAVESTY on this site was reconstructed in JavaScript from the above description, without access to the original code. There are still bugs: the script is presented simply for fun and as a possible resource for writers. Here's a list of known problems and tips for better use:
Return to the Adjunct Travesty