摘要 |
A system for incorporating speech recognition into a computer program, including a number of speech controller modules (15, 72) corresponding to program components (10, 70) within the computer program. Each speech controller module (15, 72) supports a speech recognition grammar (80, 82) having at least one rule, where the speech recognition grammar provides an interface to operations on the corresponding program component (10, 70). The rules of the speech recognition grammar associate spoken commands with data (58) stored in the corresponding program component (15, 72). A rule may include a reference (83) to another local rule, or to a rule in a different speech recognition grammar (80, 82), in which case a "link" (16, 84), to the other rule is formed. In this way, rules from the same or different grammars to be combined, in order to build complex grammars. Each speech controller module (15, 72) dynamically enables one or more rules that it contains within a speech recognizer in response to detecting the occurrence of an associated enabling condition.
|