Harry Potter Stories

This generator uses Markov chains to generate sentences. The input comes - as you might have guessed - from the Harry Potter books.

The code is quite old, I wrote it in PHP quite some years ago 😖. Somehow some string conversion/encoding errors slipped in, as you'll notice, but in sum it still works.

Enjoy!

    Generating...