A stochastic process is a mathematical model that evolves over time in a probabilistic manner. Markov chain is a special kind of stochastic process, where the outcome of the experiment depends only on the outcome of the previous experiment. That is the next state of the system depends only on the present state, not on preceding states. Markov chains are named after the Russian mathematician A. A. Markov who stated the theory of stochastic processes.
Now what if we mix markov chain and PM Modi’s independence day speech, find the hilarious results in this ipython notebook.
After this experiment, I know how some of the comment spam is being generated and is fooling the comment filters on wordpress.