public class FrameDecoder extends AbstractDecoder implements DataProcessor
decode(). When using this decoder, make sure that the AcousticScorer used by the
SearchManager can access some buffered Datas.AUTO_ALLOCATE, FIRE_NON_FINAL_RESULTS, logger, PROP_RESULT_LISTENERS, PROP_SEARCH_MANAGER, resultListeners, searchManager| Constructor and Description |
|---|
FrameDecoder() |
FrameDecoder(SearchManager searchManager,
boolean fireNonFinalResults,
boolean autoAllocate,
java.util.List<ResultListener> listeners) |
| Modifier and Type | Method and Description |
|---|---|
Result |
decode(java.lang.String referenceText)
Decode a single frame.
|
Data |
getData()
Returns the processed Data output.
|
DataProcessor |
getPredecessor()
Returns the predecessor DataProcessor.
|
void |
initialize()
Initializes this DataProcessor.
|
void |
setPredecessor(DataProcessor predecessor)
Sets the predecessor DataProcessor.
|
addResultListener, allocate, deallocate, fireResultListeners, newProperties, removeResultListener, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitnewPropertiespublic FrameDecoder(SearchManager searchManager, boolean fireNonFinalResults, boolean autoAllocate, java.util.List<ResultListener> listeners)
public FrameDecoder()
public Result decode(java.lang.String referenceText)
decode in class AbstractDecoderreferenceText - the reference text (or null)public Data getData() throws DataProcessingException
DataProcessorgetData in interface DataProcessorDataProcessingException - if a data processor error occurspublic DataProcessor getPredecessor()
DataProcessorgetPredecessor in interface DataProcessorpublic void setPredecessor(DataProcessor predecessor)
DataProcessorsetPredecessor in interface DataProcessorpredecessor - the new predecessor of this DataProcessorpublic void initialize()
DataProcessorinitialize in interface DataProcessor