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

java.lang.Object
  extended byedu.umass.cs.mallet.base.fst.confidence.TransducerSequenceConfidenceEstimator
      extended byedu.umass.cs.mallet.base.fst.confidence.SegmentProductConfidenceEstimator

public class SegmentProductConfidenceEstimator
extends TransducerSequenceConfidenceEstimator

Estimates the confidence of an entire sequence by combining the output of a segment confidence estimator for each segment.


Constructor Summary
SegmentProductConfidenceEstimator(Transducer model, TransducerConfidenceEstimator segmentConfidenceEstimator)
           
 
Method Summary
 double estimateConfidenceFor(Instance instance, java.lang.Object[] startTags, java.lang.Object[] inTags)
          Calculates the confidence in the tagging of a Instance.
 
Methods inherited from class edu.umass.cs.mallet.base.fst.confidence.TransducerSequenceConfidenceEstimator
rankInstancesByConfidence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SegmentProductConfidenceEstimator

public SegmentProductConfidenceEstimator(Transducer model,
                                         TransducerConfidenceEstimator segmentConfidenceEstimator)
Method Detail

estimateConfidenceFor

public double estimateConfidenceFor(Instance instance,
                                    java.lang.Object[] startTags,
                                    java.lang.Object[] inTags)
Calculates the confidence in the tagging of a Instance.

Specified by:
estimateConfidenceFor in class TransducerSequenceConfidenceEstimator