System and method for referencing object instances and invoking methods on those object instances from within a speech recognition grammar
First Claim
1. A method of processing speech recognition results, comprising:
- creating an object instance in an application computer program;
storing, by said application computer program in response to said creating said object instance, a reference to said object instance in association with an identifier;
receiving indication that a portion of speech matching a rule in a recognition grammar has been detected, said rule in said recognition grammar including a portion of script, said portion of script including said identifier and indicating an operation to be performed on said object instance in said application computer program; and
processing said portion of script included in said rule in said recognition grammar, responsive to said detection of said portion of speech matching said rule in said recognition grammar, said processing including performing said operation to be performed on said object instance in said application computer program.
2 Assignments
0 Petitions
Accused Products
Abstract
A system and method for referencing object instances of an application program, and invoking methods on those object instances from within a recognition grammar. A mapping is maintained between at least one string formed using characters in the character set of the recognition grammar and instances of objects in the application program. During operation of the disclosed system, when either the application program or script within a recognition grammar creates an application object instance, a reference to the object instance is added to the mapping table, together with an associated unique string. The unique string may then be used within scripting language in tags of the rule grammar, in order to refer to the object instance that has been “registered” by the application program in this way. A tags parser program may be used to interpret such object instance names while interpreting the scripting language contained in tags included in a recognition result object. The tags parser program calls the methods on such object instances directly, eliminating the need for logic in the application program to make such calls in response to the result tag information.
-
Citations
37 Claims
-
1. A method of processing speech recognition results, comprising:
-
creating an object instance in an application computer program;
storing, by said application computer program in response to said creating said object instance, a reference to said object instance in association with an identifier;
receiving indication that a portion of speech matching a rule in a recognition grammar has been detected, said rule in said recognition grammar including a portion of script, said portion of script including said identifier and indicating an operation to be performed on said object instance in said application computer program; and
processing said portion of script included in said rule in said recognition grammar, responsive to said detection of said portion of speech matching said rule in said recognition grammar, said processing including performing said operation to be performed on said object instance in said application computer program. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
detecting a second portion of speech matching said rule in said recognition grammar, and processing said portion of script included in said rule in said recognition grammar, responsive to said detection of said second portion of speech matching said rule in said recognition grammar, said processing including performing said operation to be performed on said object instance.
-
-
18. A system for processing speech recognition results, comprising:
-
logic operable to create an object instance in an application computer program;
logic, in said application computer program, operable to store, in response to said creating said object instance, a reference to said object instance in association with an identifier;
logic operable to receive indication that a portion of speech matching a rule in a recognition grammar has been detected, said rule in said recognition grammar including a portion of script, said portion of script including said identifier and indicating an operation to be performed on said object instance in said application computer program; and
logic operable to process said portion of script included in said rule in said recognition grammar, responsive to said detection of said portion of speech matching said rule in said recognition grammar, said processing including performing said operation to be performed on said object instance in said application computer program. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34)
logic for detecting a second portion of speech matching said rule in said recognition grammar, and logic for processing said portion of script included in said rule in said recognition grammar, responsive to said logic for detecting said second portion of speech matching said rule in said recognition grammar, said logic for processing including logic for performing said operation to be performed on said object instance.
-
-
35. A system for performing speech recognition, comprising:
-
means for creating an object instance in an application computer program;
means for storing, by said application computer program, in response to said creating of said object instance in said application computer program, a reference to said object instance in association with an identifier;
means for receiving indication that a portion of speech matching a rule in a recognition grammar has been detected, said rule in said recognition grammar including a portion of script, said portion of script including said identifier and indicating an operation to be performed on said object instance in said application computer program; and
means for processing said portion of script included in said rule in said recognition grammar, responsive to said detection of said portion of speech matching said rule in said recognition grammar, said means for processing including means for performing said operation to be performed on said object instance in said application computer program.
-
-
36. A computer program product including a computer readable medium, said computer readable medium having at least one computer program stored thereon, said at least one computer program comprising:
-
program code for creating an object instance in an application computer program;
program code for storing, by said application computer program in response to said creating said object instance in said application computer program, a reference to said object instance in association with an identifier;
program code for receiving indication that a portion of speech matching a rule in a recognition grammar has been detected, said rule in said recognition grammar including a portion of script, said portion of script including said identifier and indicating an operation to be performed on said object instance in said application computer program; and
program code for processing said portion of script included in said rule in said recognition grammar, responsive to said program code for detection of said portion of speech matching said rule in said recognition grammar, said program code for said portion of script processing including program code for performing said operation to be performed on said object instance in said application computer program.
-
-
37. A computer data signal embodied in a carrier wave, said computer data signal including at least one computer program, said at least one computer program comprising:
-
program code for creating an object instance in an application computer program;
program code for storing a reference to said object instance in said application computer program, responsive to said creating said object instance in said application computer program, in association with an identifier;
program code for receiving indication that a portion of speech matching a rule in a recognition grammar, said rule in said recognition grammar including a portion of script, said portion of script including said identifier and indicating an operation to be performed on said object instance in said application computer program; and
program code for processing said portion of script included in said rule in said recognition grammar, responsive to said program code for detecting of said portion of speech matching said rule in said recognition grammar, said program code for processing said portion of script including program code for performing said operation to be performed on said object instance in said application computer program.
-
Specification