// define which implementation to use
if (LibSVMModelCreator.equals(implementationName))
learner = new LibSVMModelCreator(lexicon_file_name,
model_file_name, vector_file_name);
else if (LibLinearModelCreator.equals(implementationName))
learner = new LibLinearModelCreator(lexicon_file_name,
model_file_name, vector_file_name);
else
throw new Exception(implementationName + " is unknown");
// reuse the existing lexicon