This is a very simple naive bayes written in ruby.