Context free grammar engine for speech recognition system
First Claim
Patent Images
1. A method of managing grammars used in a speech recognition system, comprising:
- loading a first grammar in a context-free grammar(CFG) engine;
implementing an engine-independent SR interface between the CFG engine and a speech recognition (SR) engine;
communicating words in the first grammar to the SR engine through the SR interface;
notifying the SR engine, through the SR interface, of rules in the first grammar; and
representing the rules in the first grammar to the SR engine through the SR interface.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention includes a context-free grammar (CFG) engine which communicates through an exposed interface with a speech recognition engine. The context-free grammar engine, in one illustrative embodiment, handles loading and unloading of grammars, as well as maintaining a desired activation state of the grammars which are loaded. Further, the CFG engine represents all loaded grammars, and their corresponding activation states, as a single grammar to the speech recognition engine.
32 Citations
32 Claims
-
1. A method of managing grammars used in a speech recognition system, comprising:
-
loading a first grammar in a context-free grammar(CFG) engine;
implementing an engine-independent SR interface between the CFG engine and a speech recognition (SR) engine;
communicating words in the first grammar to the SR engine through the SR interface;
notifying the SR engine, through the SR interface, of rules in the first grammar; and
representing the rules in the first grammar to the SR engine through the SR interface. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 12, 13, 14, 15)
-
- 9. (canceled)
-
16. A method of parsing a speech recognition result from a speech recognition (SR) engine, comprising:
-
receiving the result from the SR engine at a context-free grammar (CFG) engine having an interface component exposing methods to implement an engine-independent interface to the SR engine and an application-independent interface to an application; and
parsing the result at the CFG engine to obtain a parsed result; and
providing the parsed result to the application from the CFG engine. - View Dependent Claims (17, 18)
-
-
19. A middleware component configured for operation between an application and a speech recognition (SR) engine, comprising:
-
a context-free grammar (CFG) engine configured to receive a first grammar from the application and represent the first grammar to the SR engine; and
an interface component coupled to the CFG engine, exposing methods to provide an application-independent interface to the application and an engine-independent interface to the SR engine. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26)
-
-
27. A computer readable medium including instructions which, when implemented by a computer, cause the computer to perform the method of managing grammars used in a speech recognition system, comprising:
-
loading a first grammar in a context-free grammar (CFG) engine;
implementing an engine-independent SR interface between the CFG engine and a speech recognition (SR) engine;
communicating words in the first grammar to the SR engine through the SR interface;
notifying the SR engine, through the SR interface, of rules in the first grammar; and
representing the rules in the first grammar to the SR engine through the SR interface.
-
-
28. A computer readable medium including instructions which, when implemented by a computer, cause the computer to perform the method of parsing a speech recognition result from a speech recognition (SR) engine, comprising:
-
receiving the result from the SR engine at a context-free grammar (CFG) engine having an interface component exposing methods to implement an engine-independent interface to the SR engine and an application-independent interface to an application; and
parsing the result at the CFG engine to obtain a parsed result; and
providing the parsed result to the application from the CFG engine.
-
-
29. A speech processing component, comprising:
a layer configured to implement an application interface for communication with an application and a speech recognition (SR) interface for communication with a SR engine, the layer including a context-free grammar (CFG) engine configured to represent a plurality of grammars to the SR engine, through the SR interface, as a single grammar. - View Dependent Claims (30)
-
31. A method of managing grammars in a speech processing system, comprising:
-
providing a program component configured to communicate with an application through an application interface and with a speech recognition (SR) engine through an SR interface, the program component including a context-free grammar (CFG) engine; and
representing to the SR engine, with the CFG engine through the SR interface, a plurality of grammars as a single grammar. - View Dependent Claims (32)
-
Specification