public void collectionProcessComplete() throws AnalysisEngineProcessException {
try {
UIMAFramework.getLogger().log(Level.INFO,
"Generation of model '"+fileOutput+"' with " +
theLearnedTokens.size()+" tokens to be learned.");
ModelGeneration md =
new ModelGeneration(theLearnedTokens,fileOutput);
md.init();
UIMAFramework.getLogger().log(Level.INFO, "Model generated: " +
md.suffix_tree.size() + " leaves suffix tree, " +
md.transition_probs.size() + " transitions probabilities, " +
md.word_probs.size() + " tag probabilities.");
} catch (Exception e) {