Package cc.mallet.fst.confidence
Class ConfidenceEvaluator.EntityConfidence
- java.lang.Object
-
- cc.mallet.fst.confidence.ConfidenceEvaluator.EntityConfidence
-
- Enclosing class:
- ConfidenceEvaluator
public static class ConfidenceEvaluator.EntityConfidence extends java.lang.Object
a simple class to store a confidence score and whether or not this labeling is correct
-
-
Constructor Summary
Constructors Constructor Description EntityConfidence(double conf, boolean corr, Sequence input, int start, int end)
EntityConfidence(double conf, boolean corr, java.lang.String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
confidence()
boolean
correct()
java.lang.String
toString()
-
-
-
Constructor Detail
-
EntityConfidence
public EntityConfidence(double conf, boolean corr, java.lang.String text)
-
EntityConfidence
public EntityConfidence(double conf, boolean corr, Sequence input, int start, int end)
-
-