Mahout Naive Bayes within Java