Skip to content

lachlanpage/Markov-Chain-Sentence-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

Exploring markov chains in python for sentence generation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages