String categoryList = mdlConfig.getString("categories");
if ((categoryList != null) && !"".equals(categoryList.trim())) {
categories = categoryList.split(",");
double unknownTermsProbability = mdlConfig.getFloat("unknown.terms.probability");
categoryThreshold = mdlConfig.getFloat("category.score.threshold");
multiClassifier = new MultiClassifier(categories, unknownTermsProbability);
} else { // categories is null or ""
// It makes no sense to have a BayesianClassifierModule that
// has no categories. Someone misplaced this module in the modules
// manager, or forgot to set categories. Either way, fail.
logger.warn("Categories not found. This module is useless configured this way.");