public interface SearchManager extends Configurable
Modifier and Type | Method and Description |
---|---|
void |
allocate()
Allocates the resources necessary for this search.
|
void |
deallocate()
Deallocates resources necessary for this search.
|
Result |
recognize(int nFrames)
Performs recognition.
|
void |
startRecognition()
Prepares the SearchManager for recognition.
|
void |
stopRecognition()
Performs post-recognition cleanup.
|
newProperties
void allocate()
void deallocate()
void startRecognition()
recognize
is
called. Typically, start
and stop
are called bracketing an utterance.void stopRecognition()
Result recognize(int nFrames)
nFrames
- the maximum number of frames to process. A final result may be returned before all nFrames are
processed.