examples.recognition
Class GramCommitTest
java.lang.Object
|
+--examples.recognition.GramCommitTest
- public class GramCommitTest
- extends java.lang.Object
Tests activating/deactivating rules and grammars in response to spoken commands - one grammar
contains the words "alpha","bravo","charlie","delta", but only one rule is active at a time
and the other grammar contains "one","two","three","four" - again, only one rule
active at a time: also, only one of the grammars is active at a time - switch between
grammars with the command "switch" and activate the next rule in each grammar
with the command "next".
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GramCommitTest
public GramCommitTest()
listCommands
public static void listCommands(Recognizer rec)
main
public static void main(java.lang.String[] args)