|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cmu.sphinx.instrumentation.AccuracyTracker
public abstract class AccuracyTracker
Tracks and reports recognition accuracy
| Field Summary | |
|---|---|
static java.lang.String |
PROP_RECOGNIZER
A Sphinx property that defines which recognizer to monitor |
static java.lang.String |
PROP_SHOW_ALIGNED_RESULTS
A sphinx property that define whether recognition results should be displayed. |
static java.lang.String |
PROP_SHOW_DETAILS
A sphinx property that define whether detailed accuracy information is displayed |
static java.lang.String |
PROP_SHOW_RAW_RESULTS
A sphinx property that define whether recognition results should be displayed. |
static java.lang.String |
PROP_SHOW_RESULTS
A sphinx property that define whether recognition results should be displayed. |
static java.lang.String |
PROP_SHOW_SUMMARY
A sphinx property that define whether summary accuracy information is displayed |
| Constructor Summary | |
|---|---|
AccuracyTracker()
|
|
AccuracyTracker(Recognizer recognizer,
boolean showSummary,
boolean showDetails,
boolean showResults,
boolean showAlignedResults,
boolean showRawResults)
|
|
| Method Summary | |
|---|---|
NISTAlign |
getAligner()
Retrieves the aligner used to track the accuracy stats |
java.lang.String |
getName()
|
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured. |
abstract void |
newResult(Result result)
Method called when a new result is generated |
void |
reset()
Resets this component. |
void |
statusChanged(Recognizer.State status)
Called when the status has changed. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@S4Component(type=Recognizer.class) public static final java.lang.String PROP_RECOGNIZER
@S4Boolean(defaultValue=true) public static final java.lang.String PROP_SHOW_SUMMARY
@S4Boolean(defaultValue=true) public static final java.lang.String PROP_SHOW_DETAILS
@S4Boolean(defaultValue=true) public static final java.lang.String PROP_SHOW_RESULTS
@S4Boolean(defaultValue=true) public static final java.lang.String PROP_SHOW_ALIGNED_RESULTS
@S4Boolean(defaultValue=true) public static final java.lang.String PROP_SHOW_RAW_RESULTS
| Constructor Detail |
|---|
public AccuracyTracker(Recognizer recognizer,
boolean showSummary,
boolean showDetails,
boolean showResults,
boolean showAlignedResults,
boolean showRawResults)
public AccuracyTracker()
| Method Detail |
|---|
public void newProperties(PropertySheet ps)
throws PropertyException
Configurable
newProperties in interface Configurableps - a property sheet holding the new data
PropertyException - if there is a problem with the properties.public void reset()
Resetable
reset in interface Resetablepublic java.lang.String getName()
public NISTAlign getAligner()
public abstract void newResult(Result result)
ResultListener
newResult in interface ResultListenerresult - the new resultpublic void statusChanged(Recognizer.State status)
StateListener
statusChanged in interface StateListenerstatus - the new status
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||