How do I manage lexicons with VoCon 3200 V4?
Last reviewed: 7/15/2011
HOW Article ID: H071115
The information in this article applies to:
- LexiconKit 4
Summary
LexiconKit 4 provides support for Nuance VoCon 3200 V4.
More Information
Chant LexiconKit 4 provides support for Nuance VoCon 3200 V4. You can create and edit VoCon user dictionary text files (.dct) and compile and persist VoCon user dictionary to binary file (.dcb, .dcc).
The VoCon 3200 API is a CDLL-based architecture. To manage lexicons 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 ChantLM class object.
ChantLM1.SetNumberProperty(CNPEngineAPI, CEVoCon4)
// Win32 - Set the path to the VoCon runtime libraries
ChantLM1.SetStringProperty(CSPEnginePath, "C:\\Program Files\\Nuance\\vocon3200\\EDS_v4_1\\bin\\winx86rls")
ChantLM1.SetNumberProperty(CNPEngineAPI, CEVoCon4)
// Win32 - Set the file name of acoustic model
ChantLM1.SetStringProperty(CSPAcousticModel, "C:\\Program Files\\Nuance\\vocon3200\\EDS_v4_1\models\\acmod3_800_enu_gen_car_f16_v3_1_0.dat")
ChantLM1.SetNumberProperty(CNPEngineAPI, CEVoCon4)
// WinCE - Set the path to the VoCon runtime libraries
ChantLM1.SetStringProperty(CSPEnginePath, "\\Program Files\\YourAppDir")
// WinCE - Set the file name of acoustic model
ChantLM1.SetStringProperty(CSPAcousticModel, "\\Program Files\\YourAppDir\acmod3_800_enu_gen_car_f16_v3_1_0.dat")