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

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

public class RandomSequenceConfidenceEstimator
extends TransducerSequenceConfidenceEstimator

Estimates the confidence of an entire sequence randomly.


Constructor Summary
RandomSequenceConfidenceEstimator(int seed, Transducer model)
           
RandomSequenceConfidenceEstimator(Transducer model)
           
 
Method Summary
 double estimateConfidenceFor(Instance instance, java.lang.Object[] startTags, java.lang.Object[] inTags)
          Calculates the confidence in the tagging of an 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

RandomSequenceConfidenceEstimator

public RandomSequenceConfidenceEstimator(int seed,
                                         Transducer model)

RandomSequenceConfidenceEstimator

public RandomSequenceConfidenceEstimator(Transducer model)
Method Detail

estimateConfidenceFor

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

Specified by:
estimateConfidenceFor in class TransducerSequenceConfidenceEstimator