Funny he mentions Latent Dirichlet Allocation. If you want to see it applied to Harry Potter, you're out of luck. However, if you want to see it applied to Harry Potter fanfiction, Kaj Sotala wrote a post three days ago! http://kajsotala.fi/2015/05/harry-potter-and-the-methods-of-...