Generates new words from input text using markov chains.