System and method for interfacing speech recognition grammars to individual components of a computer program
First Claim
1. A system for incorporating speech recognition into a computer program, comprising:
- a plurality of program components within said computer program; and
a plurality of speech controller modules, each of said speech controller modules corresponding to a respective one of said plurality of program components, wherein each one of said plurality of speech controller modules includes a speech recognition grammar, each one of said speech recognition grammars having at least one rule defined within said respective one of said plurality of speech controller modules.
2 Assignments
0 Petitions
Accused Products
Abstract
A system for incorporating speech recognition into a computer program, including a number of speech controller modules corresponding to program components within the computer program. Each speech controller module supports a speech recognition grammar having at least one rule, where the speech recognition grammar provides an interface to operations on the corresponding program component. The rules of the speech recognition grammar associate spoken commands with data stored in the corresponding program component. A rule may include a reference to another local rule, or to a rule in a different speech recognition grammar, in which case a “link” to the other rule is formed. In this way, the disclosed system allows rules from the same or different grammars to be combined together, in order to build complex grammars. Each speech controller module operates to dynamically enable one or more rules it contains within a speech recognizer, in response to detecting the occurrence of an associated enabling condition. The speech controller module receives a recognition result from the speech recognizer indicating that the speech recognizer has detected one or more tokens associated with an enabled rule. In response to receipt of the recognition result, a speech controller module operates to invoke a method on data within the corresponding program component, and passes the result on to other speech controller modules that are linked to the recognition rule corresponding to the result.
-
Citations
32 Claims
-
1. A system for incorporating speech recognition into a computer program, comprising:
-
a plurality of program components within said computer program; and
a plurality of speech controller modules, each of said speech controller modules corresponding to a respective one of said plurality of program components, wherein each one of said plurality of speech controller modules includes a speech recognition grammar, each one of said speech recognition grammars having at least one rule defined within said respective one of said plurality of speech controller modules. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A method of incorporating speech recognition into a computer program, comprising:
-
detecting, in a speech recognizer, a portion of spoken input corresponding to a rule in a first recognition grammar of a plurality of recognition grammars, each of said plurality of recognition grammars including at least one rule; and
passing a recognition result to a first speech controller module, said first speech controller module being one of a plurality of speech controller modules, each of said speech controller modules corresponding to an associated one of a plurality of program components within said computer program, said first speech controller module including said first speech recognition grammar, wherein each one of said plurality of speech controller modules includes a corresponding one of said plurality of said speech recognition grammars. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29)
matching, by said speech recognizer, at least one speakable token within said rule to said portion of spoken input; and
including said at least one speakable token within said recognition result.
-
-
21. The method of claim 18, further comprising:
passing said recognition result to a second speech controller module, wherein said rule includes at least one reference to at least one rule in a speech recognition grammar included in said second speech controller module.
-
22. The method of claim 18, further comprising:
performing, by said first speech controller module in response to receipt of said recognition result, an action associated with said rule, said action performed on data stored within one of said plurality of program components corresponding to said first speech controller module.
-
23. The method of claim 22, wherein said action performed by said first speech controller module includes invocation of a method on said respective one of said plurality of program components.
-
24. The method of claim 18, further comprising loading, by said first speech controller module, said first speech recognition grammar into said speech recognizer.
-
25. The method of claim 24, further comprising modifying, responsive to a change of state in said respective one of said plurality of program components, said loaded first speech recognition grammar.
-
26. The method of claim 24, further comprising modifying, responsive to a change of data in said respective one of said plurality of program components, said loaded first speech recognition grammar.
-
27. The method of claim 18, further comprising loading, by each one of said plurality of speech controller modules, said respective ones of said plurality of said speech recognition grammars into said speech recognizer.
-
28. The method of claim 18, at least one of said plurality of speech controller modules requesting, responsive to satisfaction of an enabling condition corresponding to a rule within said speech recognition grammar included within said speech controller module, that said speech recognizer activate said rule within said speech recognition grammar included within said speech controller module, wherein said enabling condition describes a condition that must be met prior to activation of said respective rule to which said enabling condition corresponds.
-
29. The method of claim 28, wherein said indication includes an identity of said respective rule to which said enabling condition corresponds.
-
30. A computer program product including a computer readable medium, said computer readable medium having a speech recognition computer program stored thereon, said speech recognition computer program for incorporating speech recognition into a second computer program, said speech recognition computer program comprising:
program code for a plurality of speech controller modules, each of said speech controller modules including program code for receiving a recognition result from a speech recognizer, said recognition result generated by said speech recognizer in response to a portion of spoken input corresponding to a rule in a first recognition grammar of a plurality of recognition grammars, each of said plurality of recognition grammars including at least one rule, each of said speech controller modules including a respective one of said plurality of recognition grammars, each of said plurality of speech controller modules associated with a program component of said second computer program.
-
31. A computer data signal embodied in a carrier wave, said computer data signal including a speech recognition computer program, said speech recognition computer program for incorporating speech recognition into a second computer program, said speech recognition computer program comprising:
program code for a plurality of speech controller modules, each of said speech controller modules including program code for receiving a recognition result from a speech recognizer, said recognition result generated by said speech recognizer in response to a portion of spoken input corresponding to a rule in a first recognition grammar of a plurality of recognition grammars, each of said plurality of recognition grammars including at least one rule, each of said speech controller modules including a respective one of said plurality of recognition grammars, each of said plurality of speech controller modules associated with a program component of said second computer program.
-
32. A system for incorporating speech recognition into a computer program, comprising:
-
means for detecting a portion of spoken input corresponding to a rule in a first recognition grammar of a plurality of recognition grammars, each of said plurality of recognition grammars including at least one rule; and
means for receiving a recognition result in a first speech controller module, said first speech controller module one of a plurality of speech controller modules corresponding to respective ones of a plurality of program components within said computer program, said first speech controller module including said first speech recognition grammar, wherein each one of said plurality of speech controller modules includes a respective one of said plurality of said speech recognition grammars.
-
Specification