|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.instrumentation.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 boolean |
PROP_SHOW_ALIGNED_RESULTS_DEFAULT
The default setting of PROP_SHOW_ALIGNED_RESULTS |
static java.lang.String |
PROP_SHOW_DETAILS
A sphinx property that define whether detailed accuracy information is displayed |
static boolean |
PROP_SHOW_DETAILS_DEFAULT
The default setting of PROP_SHOW_DETAILS |
static java.lang.String |
PROP_SHOW_FULL_PATH
A sphinx property that define whether the full token path is displayed |
static boolean |
PROP_SHOW_FULL_PATH_DEFAULT
The default setting of PROP_SHOW_FULL_PATH |
static java.lang.String |
PROP_SHOW_RAW_RESULTS
A sphinx property that define whether recognition results should be displayed. |
static boolean |
PROP_SHOW_RAW_RESULTS_DEFAULT
The default setting of PROP_SHOW_RAW_RESULTS |
static java.lang.String |
PROP_SHOW_RESULTS
A sphinx property that define whether recognition results should be displayed. |
static boolean |
PROP_SHOW_RESULTS_DEFAULT
The default setting of PROP_SHOW_DETAILS |
static java.lang.String |
PROP_SHOW_SUMMARY
A sphinx property that define whether summary accuracy information is displayed |
static boolean |
PROP_SHOW_SUMMARY_DEFAULT
The default setting of PROP_SHOW_SUMMARY |
Constructor Summary | |
AccuracyTracker()
|
Method Summary | |
NISTAlign |
getAligner()
Retrieves the aligner used to track the accuracy stats |
java.lang.String |
getName()
Retrieves the name for this configurable component |
void |
newProperties(PropertySheet ps)
This method is called when this configurable component has new data. |
void |
newResult(Result result)
Method called when a new result is generated |
void |
register(java.lang.String name,
Registry registry)
Register my properties. |
void |
reset()
Resets this component. |
void |
statusChanged(RecognizerState 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 |
public static final java.lang.String PROP_RECOGNIZER
public static final java.lang.String PROP_SHOW_SUMMARY
public static final boolean PROP_SHOW_SUMMARY_DEFAULT
public static final java.lang.String PROP_SHOW_DETAILS
public static final boolean PROP_SHOW_DETAILS_DEFAULT
public static final java.lang.String PROP_SHOW_FULL_PATH
public static final boolean PROP_SHOW_FULL_PATH_DEFAULT
public static final java.lang.String PROP_SHOW_RESULTS
public static final boolean PROP_SHOW_RESULTS_DEFAULT
public static final java.lang.String PROP_SHOW_ALIGNED_RESULTS
public static final boolean PROP_SHOW_ALIGNED_RESULTS_DEFAULT
public static final java.lang.String PROP_SHOW_RAW_RESULTS
public static final boolean PROP_SHOW_RAW_RESULTS_DEFAULT
Constructor Detail |
public AccuracyTracker()
Method Detail |
public void register(java.lang.String name, Registry registry) throws PropertyException
Configurable
register
in interface Configurable
name
- the name of the componentregistry
- the registry for this component
PropertyException
public void newProperties(PropertySheet ps) throws PropertyException
Configurable
newProperties
in interface Configurable
ps
- a property sheet holding the new data
PropertyException
- if there is a problem with the properties.public void reset()
Resetable
reset
in interface Resetable
public java.lang.String getName()
Configurable
getName
in interface Configurable
public NISTAlign getAligner()
public void newResult(Result result)
ResultListener
newResult
in interface ResultListener
result
- the new resultpublic void statusChanged(RecognizerState status)
StateListener
statusChanged
in interface StateListener
status
- the new status
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |