Context free grammer 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 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.
2 Assignments
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.
33 Citations
28 Claims
-
1. A method of managing grammars used in a speech recognition system, comprising:
-
loading a first grammar in a 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, 9, 10, 11, 12, 13, 14, 15, 17, 18, 20, 21, 22, 23, 24, 25, 26)
-
-
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.
-
-
19. A middleware component 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.
-
-
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 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.
-
Specification