There is now a Most-Likely generator.

Try it out by, for example, running
  ./text.sh res/tiny.corpus jhsjhgs
The keyword doesn't matter. As the name suggests, it should
output the most likely sentence.
Merge branch 'master' of github.com:wamanuz/ai