/Markov-Chain-Sentence-Generator

Exploring markov chains in python for sentence generation

Primary LanguagePython

Markov-Chain-Sentence-Generator

Exploring markov chains in python for sentence generation.

main.py is single order Markov Model
second_order.py is second order Markov Model
book.txt is a Harry Potter test file
sampletext.txt is a collection of Donald Trump tweets

Sample Output from Donald Trump Tweet Collection

coverage on fake news media they are wrong so often that now i want to raise your taxes

happy and healthy new year 2018 will be great for all women to march get out there realize that these relationships are a good relationship

order to #maga! my promises are rapidly being fulfilled.great day of meetings and working the phones from the roosevelt room for one single reason: