trainingDataInFile, params.getEncoding());
if(mlParams == null)
mlParams = createTrainingParameters(params.getIterations(), params.getCutoff());
TokenizerModel model;
try {
Dictionary dict = loadDict(params.getAbbDict());
model = opennlp.tools.tokenize.TokenizerME.train(params.getLang(),
sampleStream, dict, params.getAlphaNumOpt(), mlParams);
} catch (IOException e) {