DoccatEvaluationMonitor[] listenersArr = listeners
.toArray(new DoccatEvaluationMonitor[listeners.size()]);
DoccatCrossValidator validator;
try {
DoccatFactory factory = DoccatFactory.create(params.getFactory(),
tokenizer, featureGenerators);
validator = new DoccatCrossValidator(params.getLang(), mlParams,
factory, listenersArr);
validator.evaluate(sampleStream, params.getFolds());