Package cc.mallet.fst.semi_supervised.pr

Examples of cc.mallet.fst.semi_supervised.pr.CRFTrainerByPR.train()


    assert(numThreads.value > 0);
   
    CRFTrainerByPR trainer = new CRFTrainerByPR(crf,constraints,numThreads.value);
    trainer.addEvaluator(eval);
    trainer.setPGaussianPriorVariance(var);
    trainer.train(training,iterations,iterations);

    return crf;
  }
 
  public static CRF getCRF(InstanceList training, int[] orders, String defaultLabel, String forbidden, String allowed, boolean connected) {
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.