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:
Brian West
2009-02-21 22:47:15 +00:00
parent 5467d03a96
commit 54ff389b09
3 changed files with 29 additions and 22 deletions

14
scripts/yes_no.gram Normal file
View File

@@ -0,0 +1,14 @@
#JSGF V1.0;
/**
* JSGF Grammar for example
*/
grammar example;
<yes> = [ yes ];
<no> = [ no ];
public <results> = [ <yes> | <no> ];