|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SearchManager
Defines the interface for the SearchManager. The SearchManager's primary role is to execute the search for a given number of frames. The SearchManager will return interim results as the recognition proceeds and when recognition completes a final result will be returned.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface edu.cmu.sphinx.util.props.Configurable |
|---|
newProperties |
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||