EasySpeech Controls v2.0

VoiceCmdFile

Property VoiceCmdFile As String
Read/Write: Read and Write

Description

Sets this property with the file name containing the control grammar. The file can either be a compiled (CFG format) or uncompiled (.XML, Text Grammer format) grammar file.

After set this property, uses VoiceCmdStart(VCMD_SOURCE_CFGXML) to start voice command.

Remarks

The CFG format in SAPI 5 defines the structure of grammars and grammar rules using Extensible Markup Language (XML). The CFG/Grammar compiler transforms the XML tags defining the grammar elements into a binary format used by SAPI 5-compliant SR engines. This compiling process can be performed either before or during application run time.

For more information about Text Grammar Format, Microsoft Speech SDK 5.1 doucment, session "Text Grammar Format "

See Also

VoiceCmdList