Exported LEARN and GENERATE-STRING funcs from MARKOV.