Added option to provide a different `random'-function to markov-text-generate.