Playful Python: Generating random sentences

Published: 09 January 2018
on channel: Playful Python
6,297
83

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...


On this page of the site you can watch the video online Playful Python: Generating random sentences with a duration of hours minute second in good quality, which was uploaded by the user Playful Python 09 January 2018, share the link with friends and acquaintances, this video has already been watched 6,297 times on youtube and it was liked by 83 viewers. Enjoy your viewing!