|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.fst.confidence.TransducerSequenceConfidenceEstimator cc.mallet.fst.confidence.ViterbiRatioConfidenceEstimator
public class ViterbiRatioConfidenceEstimator
Estimates the confidence of an entire sequence by the ration of the probabilities of the first and second best Viterbi paths.
Field Summary |
---|
Fields inherited from class cc.mallet.fst.confidence.TransducerSequenceConfidenceEstimator |
---|
model |
Constructor Summary | |
---|---|
ViterbiRatioConfidenceEstimator(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 cc.mallet.fst.confidence.TransducerSequenceConfidenceEstimator |
---|
rankInstancesByConfidence |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViterbiRatioConfidenceEstimator(Transducer model)
Method Detail |
---|
public double estimateConfidenceFor(Instance instance, java.lang.Object[] startTags, java.lang.Object[] inTags)
Instance
.
estimateConfidenceFor
in class TransducerSequenceConfidenceEstimator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |