|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
getName, newProperties, register |
Method Detail |
public void allocate() throws java.io.IOException
java.io.IOException
public void deallocate()
public void startRecognition()
recognize
is called. Typically,
start
and stop
are called
bracketing an utterance.
public Result recognize(int nFrames)
nFrames
- the maximum number of frames to process. A
final result may be returned before all nFrames are processed.
public void stopRecognition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |