Algorithm completion helped write a Chapter of a book about Harry Potter
Participants Botnik studios with algorithms, predictive text input, trained on a series of books about Harry Potter, wrote a Chapter of a new book called “Harry Potter and the portrait of what looked like a big pile of ashes.” The resulting text with a length of three and a half pages posted on the website of the Studio.
The predictive algorithms allow users to print the words in full, and complement them based on the already entered letters and a dictionary. More sophisticated versions can not only understand what word the user enters, but also to predict the next word based on the context of the previous words, sentence structure, and other factors. To this end, the algorithms are trained on similar texts. For example, the keyboard of the smartphones offer the user to perform the story of his messages for more personalization tips.
Developer of creative community Botnik Jamie brew (Jamie Brew) developed in 2016 a program of predictive pt-voicebox whose source code you published on GitHub. The members of the Studio decided to use it to write a new Chapter of the book about Harry Potter.
In the process of writing Chapter, the algorithm analyzed the word, and analyzing the distribution of words in the previous entered text, and source data (texts of the seven books), he proposed the most probable according to him the following words. During analysis, the algorithm considers the total frequency of words in the source frequency words, and standing immediately or after a few words after the word as entered, and other factors.
The developers chose the most suitable words and thus, together with an algorithm “wrote” Chapter books “Harry Potter and the portrait of what looked like a large pile of ash” called “Handsome” (The Handsome One).
In General, its content is pretty illogical, but as actors in it were the characters of the original series of books, and some fragments resemble in style the original.