The relative narrative coherence and the use of the term “predictive keyboards” instead of Markov-somethings has me fairly convinced this was actually just written by a human.
I think "used predictive keyboards" leaves enough wiggle room that there can be a human looking at the handful of suggestions and navigating through them, while letting the autosuggestions work their surreal magic. It seems a powerful combo to me. I love me a good Markov chain composition, but yeah, they really lack in the coherence department, which means they are whiffing on a level of good humor.
>while letting the autosuggestions work their surreal magic
I think that (unfortunately) gives way too much to the autosuggestions, and that the humans are doing the vast majority of the creative work.
My predictive keyboard on android offers 3 words, and if I try, I can delay the trap of falling into a loop and get a small amount of diversity in my sentences. If I had 18 words to work with, and they were specifically trained on the content of Harry Potter, that's a lot of room to exercise the kind of creativity that is still (for now) unique to humans.
The sentences were generated using predictive keyboards, and then the sentences were arranged into a story by a human editor, according to an article I read about it.