edu.umass.cs.mallet.base.fst.confidence
Class MaxEntConfidenceEstimator

java.lang.Object
  extended byedu.umass.cs.mallet.base.fst.confidence.TransducerConfidenceEstimator
      extended byedu.umass.cs.mallet.base.fst.confidence.MaxEntConfidenceEstimator
All Implemented Interfaces:
java.io.Serializable

public class MaxEntConfidenceEstimator
extends TransducerConfidenceEstimator

Estimates the confidence of a Segment extracted by a Transducer using a MaxEnt classifier to classify segments as "correct" or "incorrect." xxx needs some interface work

See Also:
Serialized Form

Constructor Summary
MaxEntConfidenceEstimator(Transducer model)
           
MaxEntConfidenceEstimator(Transducer model, double gaussianVariance)
           
 
Method Summary
 double estimateConfidenceFor(Segment segment, Transducer.Lattice cachedLattice)
          Calculates the confidence in the tagging of a Segment.
 MaxEnt trainClassifier(InstanceList ilist, java.lang.String correct, java.lang.String incorrect)
           
 
Methods inherited from class edu.umass.cs.mallet.base.fst.confidence.TransducerConfidenceEstimator
estimateConfidenceFor, getSegmentConfidences, getTransducer, rankSegmentsByConfidence, rankSegmentsByConfidence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxEntConfidenceEstimator

public MaxEntConfidenceEstimator(Transducer model,
                                 double gaussianVariance)

MaxEntConfidenceEstimator

public MaxEntConfidenceEstimator(Transducer model)
Method Detail

trainClassifier

public MaxEnt trainClassifier(InstanceList ilist,
                              java.lang.String correct,
                              java.lang.String incorrect)

estimateConfidenceFor

public double estimateConfidenceFor(Segment segment,
                                    Transducer.Lattice cachedLattice)
Calculates the confidence in the tagging of a Segment.

Specified by:
estimateConfidenceFor in class TransducerConfidenceEstimator