How do you generate random English sentences which at a quick glance look like valid sentences? In this video we implement a Markov chain algorithm that does this in under 15 lines of python code.
Don't be intimidated by the word Markov chain, it is quite a simple concept as we shall see here.
The text of Dracula can be downloaded for free from Project Gutenberg - http://www.gutenberg.org/cache/epub/3...
Python version 3.6
Liked this video? Subscribe to get more python videos as they are released: https://www.youtube.com/user/siddhart...