edu.cmu.sphinx.jsapi
Class SphinxRecognizerModeDesc

java.lang.Object
  extended byjavax.speech.EngineModeDesc
      extended byjavax.speech.recognition.RecognizerModeDesc
          extended byedu.cmu.sphinx.jsapi.SphinxRecognizerModeDesc
All Implemented Interfaces:
EngineCreate

public class SphinxRecognizerModeDesc
extends RecognizerModeDesc
implements EngineCreate

Provides information about a specific operationg mode of a sphinx recognition engine.


Constructor Summary
SphinxRecognizerModeDesc()
           
 
Method Summary
 Engine createEngine()
          Creats an engine with the properties specified by this SphinxRecognizerModeDesc
 
Methods inherited from class javax.speech.recognition.RecognizerModeDesc
addSpeakerProfile, equals, getSpeakerProfiles, isDictationGrammarSupported, match, setDictationGrammarSupported, setSpeakerProfiles
 
Methods inherited from class javax.speech.EngineModeDesc
getEngineName, getLocale, getModeName, getRunning, setEngineName, setLocale, setModeName, setRunning
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SphinxRecognizerModeDesc

public SphinxRecognizerModeDesc()
Method Detail

createEngine

public Engine createEngine()
                    throws java.lang.IllegalArgumentException,
                           EngineException,
                           java.lang.SecurityException
Creats an engine with the properties specified by this SphinxRecognizerModeDesc

Specified by:
createEngine in interface EngineCreate
Returns:
a SphinxRecognizer
Throws:
java.lang.IllegalArgumentException - if the properties of the SphinxRecognizerModeDesc do not refer to a known engine or engine mode.
EngineException - if the engine could not be properly created.
java.lang.SecurityException - if the caller does not have permission to create an engine.