Wednesday, October 15, 2008

Hamlet vs Twinkle, Brown and Cameron

ok, I've lost the plot - but I realised that this could be generalised into a general Vs engine, so without further ado!

Alternative Hamlet
Hamlet Vs Twinkle, Twinkle little star
Hamlet Vs David Cameron's Party speech
Hamlet Vs Gordon Brown's Global Economy speech
Hamlet Vs Bush
Hamlet Vs Obama
Hamlet Vs McCain

must, stop.. but Cameron version very good:

SCENE I. Elsinore. A million victims from alcohol related-attacks.

Sound money; low taxes – and it is a good child and a fair thought to lie between maids' legs.

How much I’ve worked in business alongside great entrepreneurs. I believe to be all around us.

[Aside] Though this be so.' We pray you, madam.

I'll set those to you like the herald Mercury
New-lighted on a heaven-kissing hill;
No, by strong hand
Of violent birth, but it’s not just for their care so doctors stop answering to Whitehall, no spirit dares stir abroad;
And let him, Horatio: a certain
convocation of politic worms are e'en with losing his wits.

Nay, do not know from personal experience just how brilliant and dedicated the people muddied,
Stood challenger on mount of all parties and none who created these safety nets and springboards. But it’s not my meaning: but I
cannot play upon me.

I am afeard you make it.

Why, what from our brother Norway?

It is 'Adieu, adieu!
If it will please you go about to speak it profanely,
Look to't that can crop up on your heads: he, repulsed--a short tale to make ourselves relevant to the stage with tears
Had he been put on by a forged process of my cause,
To give the first Conservative metropolitan council in the mind and soul
To both your honours.


Will said...

This is wonderful. What did this engine come out of? How exactly are you generating these "vs"-versions? Could this Markov Chain be used to generate alternate and randomized texts of other plays?

fe said...

There is a later post that contains the code for the engine.

The engine uses a technique called a Markov chain, the vs versions are generated by “seeding” the engine will the text from the play and one of the political figure’s speeches.

The technique could be used for any play or text.

Thanks for the comment!