public class BestPathAccuracyTracker extends AccuracyTracker
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_SHOW_FULL_PATH
The property that define whether the full token path is displayed
|
PROP_RECOGNIZER, PROP_SHOW_ALIGNED_RESULTS, PROP_SHOW_DETAILS, PROP_SHOW_RAW_RESULTS, PROP_SHOW_RESULTS, PROP_SHOW_SUMMARY
logger
Constructor and Description |
---|
BestPathAccuracyTracker() |
BestPathAccuracyTracker(Recognizer recognizer,
boolean showSummary,
boolean showDetails,
boolean showResults,
boolean showAlignedResults,
boolean showRawResults,
boolean showFullPath) |
Modifier and Type | Method and Description |
---|---|
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
|
getAligner, getName, reset, showDetails, statusChanged
initLogger, toString
@S4Boolean(defaultValue=false) public static final java.lang.String PROP_SHOW_FULL_PATH
public BestPathAccuracyTracker(Recognizer recognizer, boolean showSummary, boolean showDetails, boolean showResults, boolean showAlignedResults, boolean showRawResults, boolean showFullPath)
public BestPathAccuracyTracker()
public void newProperties(PropertySheet ps) throws PropertyException
Configurable
newProperties
in interface Configurable
newProperties
in class AccuracyTracker
ps
- a property sheet holding the new dataPropertyException
- if there is a problem with the properties.public void newResult(Result result)
ResultListener
newResult
in interface ResultListener
newResult
in class AccuracyTracker
result
- the new result