Create A Simple Grammar
The following is an illustration of how a list of possible input strings can be described in the JSGF grammar format. |
|||
|
|
||
If you want to do something more advanced, the format supports many other features. For example, you can use more than one symbol to define an infinite set of inputs. More details on the JSGF format are available at http://java.sun.com/products/java-media/speech/forDevelopers/JSGF/. |