A software developer has created a computer program that is writing its own wild and wacky Friends scripts.
Andy Herd, a cartoonist and software extraordinaire, has fed all the scripts of the popular ’90s sitcom into a database. Then, using what’s called a “recurrent neural —i.e. a form of machine learning—it is now outputting scripts for new episodes of the sitcom, reported the Daily Beast. It works by scanning the hundreds of thousands of words in the existing scripts to then predict the next letter after a string of other letters to create dialogue.
“It can generate stuff within minutes, but it’s barely English,” Herd told the Daily Beast.
However, every so often little nuggets of comedic gold pop out of the program, leading to lines like these:
Herd tweeted about the new project Monday, sharing lines from his program. The initial Tweet has generated over 4,500 retweets and 5.200 likes.
He also joked on Twitter that he could sell an improved version to a network, and “all I’d have to do is push a button and BAM, top quality sitcom fodder ready to go.”
Herd used Google’s machine learning library TensorFlow, which went open source in November, to help make his project a reality. Programs like these aren’t all new (though its use to create Friends episodes is amusingly fresh).
It’s much like cognitive computing, and IBM’s Watson computer, which uses a much more powerful system to win Jeopardy! or help doctors better find rare diagnoses. Cognitive computing systems are able to simulate human thinking patterns to recognize speech or identify items in pictures or even develop all new recipes for chefs, for example.
- Here's Where All The Strongest Hurricanes Have Hit the U.S. in the Past 50 Years
- 2022 Time100 NEXT: TIME’s List Of Emerging Leaders Who Are Shaping the Future
- Industrial Farming Causes Climate Change. The ‘Slow Food’ Movement Wants to Stop It
- Here Are the 12 New Books You Should Read in October
- Artist Oliver Jeffers Wants to Paint the World Out of a Corner
- A Vibrant North Korean Community in London Finds Its Days Are Numbered
- COVID-19 Vaccines Can Make Periods Longer, Study Says
- Column: What Happened When My Entire Family Came Out