omg (OCaml Markov Gen) is an OCaml library to generate text using Markov Chains.
The code is inspired by markovgen.