Creates a CFG binary grammar from an input GRXML format grammar.
xbpg [/g output_file_path] input_file
|
| Option | Description |
|---|---|
| /g output_file_path | (Optional) Output .cfg file path. If you do not specify an output path, the input .grxml file path will be used with a .cfg extension. |
| input_file | (Required) Input .grxml file path to be compiled. |
Parses the SRGS grammar file specified as the input file and outputs the equivalent grammar in Context Free Grammar (CFG) binary format. The resulting CFG can be loaded by, and is optimized for, the Microsoft Speech Platform.
Note If the Xbox One XDK and the Xbox 360 XDK are installed on the same PC, SpeechLab and xbpg can return “Error: An error has occurred due to the Microsoft Speech Runtime”. This error is caused by conflicts between assemblies used by each development kit. The workaround for this issue is to remove “Microsoft Speech Platform SDK Xbox Extensions (x86) v11.0” via the Control Panel. Note that removing that component can adversely affect speech development work for Xbox 360 if your app or game has dependencies on these extensions.