Markov Chain Implementation

An implementation of a Markov Chain which has been trained on Harry Potter and the Order of the Phoenix.

I first became curious about Markov Chains after discovering some interesting Twitter bots and decided to create an implementation of a Markov Chain which can construct sentences after being trained on some source material. In this case the source material is Harry Potter. Markov Chains have no concept of a grammatically correct sentence, but it can still produce some interesting output!

Date: 2018
Technology: NodeJS
Portfolio Image