Examples of ACRF


Examples of cc.mallet.grmm.learning.ACRF

            new ACRF.BigramTemplate (1),
            new ACRF.PairwiseFactorTemplate (0,1),
            new CrossTemplate1 (0,1)
    };

    ACRF acrf = new ACRF (pipe, tmpls);

    ACRFTrainer trainer = new DefaultAcrfTrainer ();
    trainer.train (acrf, training, null, testing, 99999);

    FileUtils.writeGzippedObject (crfFile, acrf);
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.