|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcc.mallet.fst.confidence.TransducerConfidenceEstimator
cc.mallet.fst.confidence.RandomConfidenceEstimator
public class RandomConfidenceEstimator
Randomly assigns values between 0-1 to the confidence of a Segment. Used as baseline to compare with other methods.
| Field Summary |
|---|
| Fields inherited from class cc.mallet.fst.confidence.TransducerConfidenceEstimator |
|---|
model |
| Constructor Summary | |
|---|---|
RandomConfidenceEstimator(int seed,
Transducer model)
|
|
RandomConfidenceEstimator(Transducer model)
|
|
| Method Summary | |
|---|---|
double |
estimateConfidenceFor(Segment segment,
SumLatticeDefault cachedLattice)
Randomly generate the confidence in the tagging of a Segment. |
| Methods inherited from class cc.mallet.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 RandomConfidenceEstimator(int seed,
Transducer model)
public RandomConfidenceEstimator(Transducer model)
| Method Detail |
|---|
public double estimateConfidenceFor(Segment segment,
SumLatticeDefault cachedLattice)
Segment.
estimateConfidenceFor in class TransducerConfidenceEstimator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||