Write++

July 2016 • 2 min read

Inspired by Automated Insights, the aim of this project is to generate stories/articles based on user inputs. A suitable approach for this would ideally be to train an AI to generate stories using Natural Language Generation (NLG), but this was ahead of my skillset (and still is) at the time.

Users answer a couple of questions and an article of considerable length is generated. The article can then be downloaded as pdf or just copied from the browser. Each pre-defined path has different options at each stage leading to a tree-like algorithm. To add randomness to the result, the words used to depict different options in the result are chosen in a pseudo-random fashion.

Issues/Considerations

Clearly this technique can’t scale. The only way to grow and make stories seem more real would be to add more paths and word options manually i.e. content generation. This was the plan then, but clearly can’t scale in hindsight.

Hopefully i’ll be able to revisit this later in some machine-learning capacity. If you’re reading this and have ideas on how this could work, please reach out.

Stack/Dependencies

Paths

The scenario here is that there’s a writer/journalist that needs to write a story. The base path is the type of story. There is then a critical path after which, the user then forms the main story by answering questions allocated to that path.

The types of stories were basically gotten by going through a couple of Techcabal stories and categorising them.

Base paths are:

Ideas for Improvement

Summary

This project was an attempt to provide something to help anyone create stories at a blistering pace. Hopefully i’ll be able to come back and make it better later.

Hi! My name is Opeyemi. I am an SRE that cares about Observability, Performance and Dogs. You can learn more about me or send me a message on Twitter.

Share on