What Twitter, Shakespeare and monkeys have in common

  • Special To The Washington Post.
  • Monday, May 9, 2016 1:44pm
  • Business

Twitter and Shakespeare’s Globe Theater have partnered to prove the infinite monkey theorem, which states that monkeys infinitely typing at random could eventually re-create the complete works of William Shakespeare. The project uses a machine to capture the random keystrokes of one group of monkeys: Twitter users.

CompleteTweets tweeted, “I’m typing The Complete Works of William Shakespeare, word by word, one Tweet at a time. Shakespeare400 https://t.co/uxENhdOyZR”

In the Globe Theater’s lobby in London, a typewriter is hooked up via a mass of wires to a computer that combs Twitter looking for tweets that contain certain words. Starting with “The Two Gentlemen of Verona,” the machine types out the entire play, word for word, as soon as a match is found in the Twitter-sphere. Launching the project Sunday, the machine has already gotten to Act 4 of the play, or around 1.22 percent of the complete works. It will ultimately work its way through 37 plays and 154 sonnets.

The biggest challenge of the project is when the text reaches one of the more bizarre Shakespearean words— such as “habiliments”— that it probably won’t find organically posted on Twitter. At that point, an official Globe Complete Tweets account will call out asking for intervention. Twitter users can type up the challenging word with the hashtag TheCompleteTweets.

The concept behind the theorem— that given infinite time and random sequencing, the emergence of something coherent is statistically highly probable— has roots going all the way back to Aristotle and Cicero. The first instance of the pairing of a monkey and typing to describe the mathematical theorem was by Emile Borel and Arthur Eddington, who contributed to statistical mechanics in the early 20th century.

This isn’t the first time that scientists have taken to proving the infinite monkey theorem in practice. In 2003, a group of students and lecturers at University of Plymouth attempted to prove the theory by placing a single computer inside a monkey enclosure at the nearby Paignton Zoo. After a month, the six primates produced about five pages of text, mostly of the repeated letter “s,” as well as destroyed and defecated on the machine.

Paignton Zoo scientific officer Amy Plowman told BBC that that experiment had little value. “The work was interesting but had little scientific value, except to show that the ‘infinite monkey’ theory is flawed.”

A software developer in Nevada had better luck in 2012. Using a random number generator that would generate 9-number sequences, Jesse Anderson was able to re-create Shakespeare’s plays by pulling on 7.5 trillion character groups and cross-checking them against 5.5 trillion (5,429,503,678,976) possible combinations. He completed the works in just 1.5 months.

Since the Globe project relies on full words typed by Twitter users, the current project resembles more of a crowdsourced re-creation of Shakespeare’s works rather than the random typings of a primate.

Talk to us

> Give us your news tips.

> Send us a letter to the editor.

> More Herald contact information.

More in Business

Lynnwood Police Officers AJ Burke and Maryam McDonald with the Community Health and Safety Section Outreach team and City of Lynnwood’s Business Development Program Manager Simreet Dhaliwal Gill walk to different businesses in Alderwood Plaza on Wednesday, June 25, 2025 in Lynnwood, Washington. (Olivia Vanni / The Herald)
Lynnwood advocate helps small businesses grow

As Business Development Program Manager for the city of Lynnwood, Dhaliwal Gill is an ally of local business owners.

Kelsey Olson, the owner of the Rustic Cork Wine Bar, is introduced by Port of Everett Executive Director Lisa Lefebar on Dec. 2, 2025 in Everett, Washington. (Olivia Vanni / The Herald)
Rustic Cork Wine Bar opens its doors at the Port of Everett

It’s the first of five new restaurants opening on the waterfront, which is becoming a hotspot for diners.

Wide Shoes owner Dominic Ahn outside of his store along 205th Street on Nov. 20, 2025 in Edmonds, Washington. (Olivia Vanni / The Herald)
Edmonds shoe store specializes in wide feet

Only 10% of the population have wide feet. Dominic Ahn is here to help them.

Penny Clark, owner of Travel Time of Everett Inc., at her home office on Nov. 21, 2025 in Arlington, Washington. (Olivia Vanni / The Herald)
Arlington-based travel agency has been in business for 36 years

In the age of instant Internet travel booking, Penny Clark runs a thriving business from her home office in suburban Arlington.

Sound Sports Performance & Training owner Frederick Brooks inside his current location on Oct. 30, 2025 in Lynnwood, Washington. (Olivia Vanni / The Herald)
Lynnwood gym moves to the ground floor of Triton Court

Expansion doubles the space of Sound Sports and Training as owner Frederick Brooks looks to train more trainers.

The Verdant Health Commission holds a meeting on Oct. 22, 2025 in Lynnwood, Washington. (Olivia Vanni / The Herald)
Verdant Health Commission to increase funding

Community Health organizations and food banks are funded by Swedish hospital rent.

The entrance to EvergreenHealth Monroe on Monday, April 1, 2019 in Monroe, Wash. (Andy Bronson / The Herald)
EvergreenHealth Monroe buys medical office building

The purchase is the first part of a hospital expansion.

The new T&T Supermarket set to open in November on Oct. 20, 2025 in Lynnwood, Washington. (Olivia Vanni / The Herald)
TT Supermarket sets Nov. 13 opening date in Lynnwood

The new store will be only the second in the U.S. for the Canadian-based supermarket and Asian grocery.

Judi Ramsey, owner of Artisans, inside her business on Sept. 22, 2025 in Everett, Washington. (Olivia Vanni / The Herald)
Artisans PNW allows public to buy works of 100 artists

Combo coffee, art gallery, bookshop aims to build business in Everett.

The Port of Everett’s new Director of Seaport Operations Tim Ryker on Oct. 14, 2025 in Everett, Washington. (Olivia Vanni / The Herald)
Port of Everett names new chief of seaport operations

Tim Ryker replaced longtime Chief Operating Officer Carl Wollebek, who retired.

Lily Lamoureux stacks Weebly Funko toys in preparation for Funko Friday at Funko Field in Everett on July 12, 2019.  Kevin Clark / The Herald)
Everett-based Funko: ‘Serious doubt’ it can continue without new owner or funding

The company made the statements during required filings to the SEC. Even so, its new CEO outlined his plan for a turnaround.

A runner jogs past construction in the Port of Everett’s Millwright District on Tuesday, July 15, 2025 in Everett, Washington. (Olivia Vanni / The Herald)
Port of Everett finalizes ‘conservative’ 2026 budget

Officials point to fallout from tariffs as a factor in budget decisions.

Support local journalism

If you value local news, make a gift now to support the trusted journalism you get in The Daily Herald. Donations processed in this system are not tax deductible.