Bayes text classifier that runs on top of leveldb