org.jvoicexml.implementation.jsapi10.jvxml
Class Sphinx4EngineCentral

java.lang.Object
  extended by org.jvoicexml.implementation.jsapi10.jvxml.Sphinx4EngineCentral
All Implemented Interfaces:
EngineCentral

public final class Sphinx4EngineCentral
extends Object
implements EngineCentral

JSAPI wrapper for sphinx4.

Version:
$Revision: 190 $

Copyright © 2005-2007 JVoiceXML group - http://jvoicexml.sourceforge.net/

Author:
Dirk Schnelle

Constructor Summary
Sphinx4EngineCentral()
          Construct a new object.
 
Method Summary
 EngineList createEngineList(EngineModeDesc engineModeDesc)
          Create an EngineList containing an EngineModeDesc for each mode of operation of a speech engine that matches a set of required features.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sphinx4EngineCentral

public Sphinx4EngineCentral()
Construct a new object.

Method Detail

createEngineList

public EngineList createEngineList(EngineModeDesc engineModeDesc)
Create an EngineList containing an EngineModeDesc for each mode of operation of a speech engine that matches a set of required features. Each object in the list must be a sub-class of either RecognizerModeDesc or SynthesizerModeDesc and must implement the EngineCreate interface.

The Central class ensures that the require parameter is an instance of either RecognizerModeDesc or SynthesizerModeDesc. This enables the EngineCentral to optimize its search for either recognizers or synthesizers.

Returns null if no engines are available or if none meet the specified requirements.

The returned list should indicate the list of modes available at the time of the call (the list may change over time). The engine can create the list at the time of the call or it may be pre-stored.

Specified by:
createEngineList in interface EngineCentral
Parameters:
engineModeDesc - Descriptor with search parameters.
Returns:
List with matching engines.


Copyright © 2005-2007 JVoiceXML group.