“The computer program I wrote compares that monkey’s gibberish to every work of Shakespeare to see if it actually matches a small portion of what Shakespeare wrote. If it does match, the portion of gibberish that matched Shakespeare is marked with green,” Andersen explained on his blog. “The parts of Shakespeare that have not been found are colored white. This process is repeated over and over until the monkeys have created every work of Shakespeare through random gibberish.”
Anderson developed the project to test Amazon’s web servers, but also to satisfy his curiosity of whether an infinite number of monkeys could randomly reproduce Shakespeare’s work by pecking away on an infinite number of typewriters.
Welcome to ...
The place where the world comes together in honesty and mirth.
Windmills Tilted, Scared Cows Butchered, Lies Skewered on the Lance of Reality ... or something to that effect.
Windmills Tilted, Scared Cows Butchered, Lies Skewered on the Lance of Reality ... or something to that effect.
Wednesday, September 28, 2011
Virtual Monkeys Recreate the Works of Shakespeare
The infinite monkey theorem proposes that a group of monkeys, or even a single one, could reproduce the collected works of William Shakespeare by hitting random keystrokes if given sufficient time. It is, however, hard to prove this theorem with an experiment that uses actual monkeys. So computer engineer Jesse Anderson created a simulation that successfully reproduced 99.9% of the Bard’s published writings:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment