|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umass.cs.mallet.base.fst.confidence.TransducerConfidenceEstimator
edu.umass.cs.mallet.base.fst.confidence.ConstrainedForwardBackwardConfidenceEstimator
Estimates the confidence of a Segment
extracted by a Transducer
by performing a "constrained lattice"
calculation. Essentially, this sums all possible ways this segment
could have been extracted and normalizes.
Constructor Summary | |
ConstrainedForwardBackwardConfidenceEstimator(Transducer model)
|
Method Summary | |
double |
estimateConfidenceFor(Segment segment,
Transducer.Lattice cachedLattice)
Calculates the confidence in the tagging of a Segment . |
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 |
public ConstrainedForwardBackwardConfidenceEstimator(Transducer model)
Method Detail |
public double estimateConfidenceFor(Segment segment, Transducer.Lattice cachedLattice)
Segment
.
estimateConfidenceFor
in class TransducerConfidenceEstimator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |