String inputPath = (String) cmdLine.getValue(inputDirOpt);
String modelPath = (String) cmdLine.getValue(modelOpt);
String categoryField = (String) cmdLine.getValue(categoryFieldOpt);
String contentField = (String) cmdLine.getValue(contentFieldOpt);
MatchMode mode;
if ("knn".equalsIgnoreCase(classifierType)) {
mode = MatchMode.KNN;
}
else if ("tfidf".equalsIgnoreCase(classifierType)) {