Generates pseudorandom sentences based on a sample of text.