edu.cmu.sphinx.jsapi
Class SphinxEngineCentral
java.lang.Object
edu.cmu.sphinx.jsapi.SphinxEngineCentral
- All Implemented Interfaces:
- EngineCentral
- public class SphinxEngineCentral
- extends java.lang.Object
- implements EngineCentral
Provides a list of SphinxRecognizerModeDesc objects that define the
available operating modes of the sphinx recognition engine. An
instance of this SphinxEngineCentral object is registered with the
javax.speeech.Central class. When requested by the Central class,
this object provides a list of EngineModeDesc objects that
describes the available operating modes of the engine.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SphinxEngineCentral
public SphinxEngineCentral()
createEngineList
public EngineList createEngineList(EngineModeDesc require)
- Create an EngineList containin and EngineModeDesc object for
each mode of operation of the Sphinx speech engine.
- Specified by:
createEngineList
in interface EngineCentral
- Parameters:
require
- describes the constraints to be placed on
engines placed on the engine list. null matches all engines.
Note that require is guaranteed to be of type
RecognizerModeDesc.
- Returns:
- a list of RecognizerModeDesc objects describing the
available sphinx recognition engines that match
require
. Returns null
if no engines match.