Package opennlp.tools.ml.model

Examples of opennlp.tools.ml.model.HashSumEventStream.calculateHashSum()


    HashSumEventStream hses = new HashSumEventStream(events);
    DataIndexer indexer = getDataIndexer(events);

    MaxentModel model = doTrain(indexer);

    addToReport("Training-Eventhash", hses.calculateHashSum().toString(16));
    addToReport(AbstractTrainer.TRAINER_TYPE_PARAM, EventTrainer.EVENT_VALUE);
    return model;
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.