Class NaiveBayesTrainer.Factory