In Dialogue (2013)

Alice’s Adventures in the Whale & Through the Prejudice Glass

Here are two generated novels created through the conceptually simple technique of swapping the dialogue between two separate texts. Having tried it before, I can report that implementing this can be tricker than it sounds. Parsing the text correctly is the first step. But you also have the problem of how to decide which bit of dialogue goes where. 

The results, in this case, are eerily effective. No doubt part of this speaks to the enduring enchantment of Lewis Carroll’s absurdist mathematical repurposing of common subjects, but much of the credit goes to Leonard Richardson’s script making just the right substitution. When the Red Queen starts discussing Wickham, or The King of Hearts compares the Cheshire Cat to Moby Dick, it seems to fit. 

The source code is provided, so you can make your own textual mashups. Oliver Twist on Treasure Island? Julius Caesar in War and Peace?

https://github.com/leonardr/In-Dialogue/