Āé¶¹“«Ć½

Predictive texts: a bot that dreams up children’s stories

Stymied by writer's block? Let this neural net brainstorm the beginnings of your next masterpiece

Make cartoon

ā€œOnce upon a time, I dreamed of being a children’s author,ā€ says Selma Storey, ā€œbut inspiration is like fairy dust. I’ve tried everything, even random word generators, but I can’t conjure a children’s title from ā€˜leverage’ and ā€˜asbestos’. Help!ā€

It’s debatable whether machines can be truly creative. But they’re certainly smart. Artificial neural nets are thinking machines modelled on the connections in our own brains. They can spot patterns within data, allowing them to predict earthquakes, steer self-driving cars and beat everyone at the board game Go.

There are lots of open source versions you can experiment with. You just need a few lines of code and some training data. To start, I gave my neural net a list of 200 children’s book titles, scraped from .

It got to grips with form, even if the results lacked flair. ā€œThe Stories and the Thingsā€ doesn’t scream bestseller to me, and ā€œThe Magic Magic Mole Moleā€ is a little repetitive.

Time to up the data set. This time I assembled 1180 titles. After a single pass, my neural net showed improvement, even if ā€œThe Story of the Storyā€ was a bit recursive. After a few more passes, it was finding its own dry sense of humour, offering up ā€œOliver and the Neverendā€ and ā€œThe Fantastic Profity Monsterā€ – something all publishers are no doubt looking for. Following an afternoon deep in thought, the neural net came up with ā€œThe Adventures of Dunno and His Friendsā€, ā€œHans the Mole Brotherā€ and ā€œBad Tomato Wenchā€. Not bad.

In a final push, I spent a day compiling a huge data set of 3600 titles. Feeding this literary smorgasbord to the neural net, things turned sinister. It dreamed up titles like ā€œThe Bear Made Meā€, ā€œI Want to See Christmasā€ and ā€œBary Rots in Homewoldā€. Still, ā€œAvocado Babyā€ is sure to appeal to millennial parents.

In the end, though, a number of passes through the long list got my neural net generating just what I had hoped for: titles like ā€œThe Mysterious Church Stairsā€ and ā€œThe Adventures of the Wild Dinosaursā€. With infinite writing prompts, how could you ever be lost for words again? Now, does anyone have the number for Random House?

  • For more Makes visit
Topics: children