Someone taught their computer to write Harry Potter books and the result is hilarious

Mischief (not) managed

112358

JK Rowling has an imagination unmatched by any living human – but what about computers?

Advertisement

Max Deutsch is the editor of Deep Writing, a blog devoted to recreating popular stories and songs through artificial intelligence. He fed a deep learning algorithm the first four Harry Potter novels and programed it to produce one chapter of a new story.

The chapter presents a plethora of characters – from Snape and Mad-Eye Moody to Krum and Peeves. Though largely gibberish, the computer raises a few chuckles.

“Now Malfoy from Charlie in places before he said, ‘The Mandrake forms to Hogwarst Weasley…Winky?’ “ 

“’Pig snout,’ they bowed back to the cabinet above the table. ‘That’s right,’ said Harry offhandedly.” 

The algorithm also seemed to pick up Dumbledore’s love of sweets: “Dumbledore will get out from behind a cream cake.”

Advertisement

Read the full text here