Documentation of 'cc.mallet.fst.CRFWriter' Java class
CRFWriter
cc.mallet.fst

Class CRFWriter



  • public class CRFWriter
    extends TransducerEvaluator
    Saves a trained model to specified filename.

    Can be used to save the model every few iterations, e.g. to save every 5 iterations:

    new CRFWriter(filePrefix) { public boolean precondition (TransducerTrainer tt) { return tt.getIteration() % 5 == 0; };

    The trained model is saved in the format: filenamePrefix..bin.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.