mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
Revamp mod_pocketsphinx to use jsgf format. Known bugs which are going to be fixed are:
Using words in your grammar that aren't in the dictionary will segfault. Bug is already brought up with the pocketsphinx maintainer. /b git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12224 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
14
scripts/yes_no.gram
Normal file
14
scripts/yes_no.gram
Normal file
@@ -0,0 +1,14 @@
|
||||
#JSGF V1.0;
|
||||
|
||||
/**
|
||||
* JSGF Grammar for example
|
||||
*/
|
||||
|
||||
grammar example;
|
||||
|
||||
<yes> = [ yes ];
|
||||
<no> = [ no ];
|
||||
|
||||
public <results> = [ <yes> | <no> ];
|
||||
|
||||
|
Reference in New Issue
Block a user