How do I recognize speech with VoCon 3200 V4?
Last reviewed: 7/15/2011
HOW Article ID: H071127
The information in this article applies to:
- SpeechKit 7
SpeechKit 7 provides support for Nuance VoCon 3200 V4.
More Information
Chant SpeechKit 7 provides support for Nuance VoCon 3200 V4. VoCon V4 expands it grammar support to include L&H BNF V2.0, W3C ABNF, and Java Speech Grammar Format (JSGF) syntax.
The VoCon 3200 API is a CDLL-based architecture. To manage grammars within your application, specify the directory location for the runtime libraries and acoustic model by setting the CNPEngineAPI, CSPEnginePath, and CSPAcousticModel properties after instantiating the ChantSR class object.
Like VoCon V2, the gram to phoneme capabilities are part of the distribution runtime. You do not need to precompile command vocabulary stub grammars. You may use CLC or DDG2P capabilities by defining the path to those libraries.
ChantSR1.SetNumberProperty(CNPEngineAPI, CEVoCon4)
// Win32 - Set the path to the VoCon runtime libraries
ChantSR1.SetStringProperty(CSPEnginePath, "C:\\Program Files\\Nuance\\vocon3200\\EDS_v4_1\\bin\\winx86rls")
ChantSR1.SetNumberProperty(CNPEngineAPI, CEVoCon4)
// Win32 - Set the file name of acoustic model
ChantSR1.SetStringProperty(CSPAcousticModel, "C:\\Program Files\\Nuance\\vocon3200\\EDS_v4_1\models\\acmod3_800_enu_gen_car_f16_v3_1_0.dat")
// Win32 - Set the file name of CLC model
ChantSR1.SetStringProperty(CSPCLCModel, "C:\\Program Files\\Nuance\\vocon3200\\EDS_v4_1\\models\\clc_enu_cfg3_v1_0_0.dat")
// Win32 - Or set the file name of DDG2P model
ChantSR1.SetStringProperty(CSPDDG2PModel, "C:\\Program Files\\Nuance\\vocon3200\\EDS_v4_1\\models\\ddg2p_enu_vadvde_ttsasr_large_v2_1_3.dat")
ChantSR1.SetNumberProperty(CNPEngineAPI, CEVoCon4)
// WinCE - Set the path to the VoCon runtime libraries
ChantSR1.SetStringProperty(CSPEnginePath, "\\Program Files\\YourAppDir")
// WinCE - Set the file name of acoustic model
ChantSR1.SetStringProperty(CSPAcousticModel, "\\Program Files\\YourAppDir\acmod3_800_enu_gen_car_f16_v3_1_0.dat")
// WinCE - Set the file name of CLC model
ChantSR1.SetStringProperty(CSPCLCModel, "\\Program Files\\YourAppDir\\clc_enu_cfg3_v1_0_0.dat")
// WinCE - Or set the file name of DDG2P model
ChantSR1.SetStringProperty(CSPDDG2PModel, "\\Program Files\\YourAppDir\\ddg2p_enu_vadvde_ttsasr_large_v2_1_3.dat")