Uses of Class
cc.mallet.fst.TransducerTrainer
-
Packages that use TransducerTrainer Package Description cc.mallet.fst Transducers, including Conditional Random Fields (CRFs).cc.mallet.fst.semi_supervised cc.mallet.fst.semi_supervised.pr cc.mallet.fst.semi_supervised.tui -
-
Uses of TransducerTrainer in cc.mallet.fst
Subclasses of TransducerTrainer in cc.mallet.fst Modifier and Type Class Description class
CRFTrainerByL1LabelLikelihood
CRF trainer that implements L1-regularization.class
CRFTrainerByLabelLikelihood
Unlike ClassifierTrainer, TransducerTrainer is not "stateless" between calls to train.class
CRFTrainerByStochasticGradient
Trains CRF by stochastic gradient.class
CRFTrainerByThreadedLabelLikelihood
class
CRFTrainerByValueGradients
A CRF trainer that can combine multiple objective functions, each represented by a Optmizable.ByValueGradient.class
HMMTrainerByLikelihood
class
MEMMTrainer
Trains and evaluates aMEMM
.class
NoopTransducerTrainer
A TransducerTrainer that does no training, but simply acts as a container for a Transducer; for use in situations that require a TransducerTrainer, such as the TransducerEvaluator methods.class
ShallowTransducerTrainer
Deprecated.Use NoopTransducerTrainer insteadstatic class
TransducerTrainer.ByIncrements
static class
TransducerTrainer.ByInstanceIncrements
Methods in cc.mallet.fst that return TransducerTrainer Modifier and Type Method Description TransducerTrainer
TransducerTrainer. addEvaluator(TransducerEvaluator te)
TransducerTrainer
TransducerTrainer. addEvaluators(java.util.Collection<TransducerEvaluator> tes)
TransducerTrainer
TransducerTrainer. removeEvaluator(TransducerEvaluator te)
Methods in cc.mallet.fst with parameters of type TransducerTrainer Modifier and Type Method Description void
TransducerEvaluator. evaluate(TransducerTrainer tt)
Evaluates a TransducerTrainer and its Transducer on the instance lists specified in the constructor.void
CRFWriter. evaluateInstanceList(TransducerTrainer transducer, InstanceList instances, java.lang.String description)
void
InstanceAccuracyEvaluator. evaluateInstanceList(TransducerTrainer tt, InstanceList data, java.lang.String description)
void
LabelDistributionEvaluator. evaluateInstanceList(TransducerTrainer transducer, InstanceList instances, java.lang.String description)
void
MultiSegmentationEvaluator. evaluateInstanceList(TransducerTrainer tt, InstanceList data, java.lang.String description)
void
PerClassAccuracyEvaluator. evaluateInstanceList(TransducerTrainer tt, InstanceList data, java.lang.String description)
void
SegmentationEvaluator. evaluateInstanceList(TransducerTrainer tt, InstanceList data, java.lang.String description)
void
TokenAccuracyEvaluator. evaluateInstanceList(TransducerTrainer trainer, InstanceList instances, java.lang.String description)
abstract void
TransducerEvaluator. evaluateInstanceList(TransducerTrainer transducer, InstanceList instances, java.lang.String description)
void
ViterbiWriter. evaluateInstanceList(TransducerTrainer transducerTrainer, InstanceList instances, java.lang.String description)
protected void
CRFWriter. preamble(TransducerTrainer tt)
protected void
TransducerEvaluator. preamble(TransducerTrainer tt)
protected void
ViterbiWriter. preamble(TransducerTrainer tt)
boolean
TransducerEvaluator. precondition(TransducerTrainer tt)
If this returns false, then the body of the evaluate(TransducerTrainer) method will not run.static void
SimpleTagger. test(TransducerTrainer tt, TransducerEvaluator eval, InstanceList testing)
Test a transducer on the given test data, evaluating accuracy with the given evaluator -
Uses of TransducerTrainer in cc.mallet.fst.semi_supervised
Subclasses of TransducerTrainer in cc.mallet.fst.semi_supervised Modifier and Type Class Description class
CRFTrainerByEntropyRegularization
A CRF trainer that maximizes the log-likelihood plus a weighted entropy regularization term on unlabeled data.class
CRFTrainerByGE
Trains a CRF using Generalized Expectation constraints that consider either a single label or a pair of labels of a linear chain CRF.class
CRFTrainerByLikelihoodAndGE
-
Uses of TransducerTrainer in cc.mallet.fst.semi_supervised.pr
Subclasses of TransducerTrainer in cc.mallet.fst.semi_supervised.pr Modifier and Type Class Description class
CRFTrainerByPR
Posterior regularization trainer. -
Uses of TransducerTrainer in cc.mallet.fst.semi_supervised.tui
Methods in cc.mallet.fst.semi_supervised.tui with parameters of type TransducerTrainer Modifier and Type Method Description static void
SimpleTaggerWithConstraints. test(TransducerTrainer tt, TransducerEvaluator eval, InstanceList testing)
Test a transducer on the given test data, evaluating accuracy with the given evaluator
-