Quote Generator
Happiness resides not in the city that never sleeps, the United Nations works tirelessly, around the country, meeting fans and hearing their stories in person and on my radio show has reenergized my commitment to creating honest and inspirational than something negative.
Just press the button and the program will generate a motivational quote for you based on 400 existing ones. It might not make a lot of sense.
How it works?
The program generates text with a Markov chain which simply decides the next word based on a sample text. For instance, if in our sample quotes after the word "you" the word "must" appears 4 times the word "have" appears 2 times, then if we get to the word "you" in the process of generation, then the program will throw a dice and if its 4 or less it will put the word "must" else it will put "have" and then it repeats the same process for "must" or "have" whichever it chose until it hits a period.