inpro.sphinx.decoder
Class NoSearch
java.lang.Object
inpro.sphinx.decoder.NoSearch
- All Implemented Interfaces:
- edu.cmu.sphinx.decoder.search.SearchManager, edu.cmu.sphinx.util.props.Configurable
- Direct Known Subclasses:
- FakeSearch
public class NoSearch
- extends java.lang.Object
- implements edu.cmu.sphinx.decoder.search.SearchManager
recognizing is so time consuming (and sometimes useless)
why not have a recognizer that doesn't recognize at all,
just consumes frames from the frontend and calls event
listeners and monitors from time to time
- Author:
- timo
|
Field Summary |
protected static edu.cmu.sphinx.result.Result |
emptyResult
|
(package private) edu.cmu.sphinx.frontend.FrontEnd |
fe
|
static java.lang.String |
PROP_FRONTEND
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_FRONTEND
@S4Component(type=edu.cmu.sphinx.frontend.FrontEnd.class)
public static final java.lang.String PROP_FRONTEND
- See Also:
- Constant Field Values
emptyResult
protected static final edu.cmu.sphinx.result.Result emptyResult
fe
edu.cmu.sphinx.frontend.FrontEnd fe
NoSearch
public NoSearch()
allocate
public void allocate()
- Specified by:
allocate in interface edu.cmu.sphinx.decoder.search.SearchManager
deallocate
public void deallocate()
- Specified by:
deallocate in interface edu.cmu.sphinx.decoder.search.SearchManager
recognize
public edu.cmu.sphinx.result.Result recognize(int nFrames)
- Specified by:
recognize in interface edu.cmu.sphinx.decoder.search.SearchManager
startRecognition
public void startRecognition()
- Specified by:
startRecognition in interface edu.cmu.sphinx.decoder.search.SearchManager
stopRecognition
public void stopRecognition()
- Specified by:
stopRecognition in interface edu.cmu.sphinx.decoder.search.SearchManager
newProperties
public void newProperties(edu.cmu.sphinx.util.props.PropertySheet ps)
throws edu.cmu.sphinx.util.props.PropertyException
- Specified by:
newProperties in interface edu.cmu.sphinx.util.props.Configurable
- Throws:
edu.cmu.sphinx.util.props.PropertyException