-- Then the words from the given text, which serve as a basis for the Markov Chain
contents<-readFile"test.txt"
contents<-readFile"text.txt"
-- To generate our sentence we use our text content, build a Markov Chain, and then use it to generate our random sentence by using the chain to repeatedly add random words from our Markov Chain.