edu.cmu.sphinx.instrumentation
Class BestConfidenceAccuracyTracker
java.lang.Object
edu.cmu.sphinx.instrumentation.AccuracyTracker
edu.cmu.sphinx.instrumentation.BestConfidenceAccuracyTracker
- All Implemented Interfaces:
- ResultListener, Monitor, Resetable, StateListener, Configurable, java.util.EventListener
public class BestConfidenceAccuracyTracker
- extends AccuracyTracker
Tracks and reports recognition accuracy using the "confidenceScorer" component specified in the ConfigurationManager.
The "confidenceScorer" component is typically configured to be edu.cmu.sphinx.result.SausageMaker.
- See Also:
SausageMaker
|
Method Summary |
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured. |
void |
newResult(Result result)
Method called when a new result is generated |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_CONFIDENCE_SCORER
@S4Component(type=ConfidenceScorer.class)
public static final java.lang.String PROP_CONFIDENCE_SCORER
- Defines the class to use for confidence scoring.
- See Also:
- Constant Field Values
BestConfidenceAccuracyTracker
public BestConfidenceAccuracyTracker(ConfidenceScorer confidenceScorer,
Recognizer recognizer,
boolean showSummary,
boolean showDetails,
boolean showResults,
boolean showAlignedResults,
boolean showRawResults)
BestConfidenceAccuracyTracker
public BestConfidenceAccuracyTracker()
newProperties
public void newProperties(PropertySheet ps)
throws PropertyException
- Description copied from interface:
Configurable
- This method is called when this configurable component needs to be reconfigured.
- Specified by:
newProperties in interface Configurable- Overrides:
newProperties in class AccuracyTracker
- Parameters:
ps - a property sheet holding the new data
- Throws:
PropertyException - if there is a problem with the properties.
newResult
public void newResult(Result result)
- Description copied from interface:
ResultListener
- Method called when a new result is generated
- Specified by:
newResult in interface ResultListener- Specified by:
newResult in class AccuracyTracker
- Parameters:
result - the new result