Markov Chains, Python, Data Analysis, Text Generation, Scraping.
Markov Chain Algorithm We can now use the data we extracted from Wikipedia. First of all we read from our DB the text and we create a string by joining all the paragraphs from the articles into a single one separated by “.”. After that we can train our model by passing to markovify.Text() our