Context free grammar engine for speech recognition system
First Claim
Patent Images
1. A method of parsing a speech recognition result from a speech recognition (SR) engine, comprising:
- sending grammar rules from a context-free grammar (CFG) engine to the SR engine in response to a query from the SR engine through an SR interface, implemented by methods on an interface component used by the CFG engine, that supports multiple different SR engines;
receiving the result from the SR engine at the CFG engine wherein receiving the result comprises;
receiving a rule identifier identifying a rule in a CFG that spawned the result; and
receiving a plurality of transition identifiers identifying transitions through the rule that spawned the result;
parsing the result at the CFG engine to obtain a parsed result by constructing an indication of a parse tree based on the rule identifier and the plurality of transition identifiers;
providing the indication of the parse tree from the CFG engine to an application through the application interface; and
providing the parsed result to an application from the CFG engine through an application interface, implemented by methods on the interface component, that support multiple different applications.
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.
-
Citations
13 Claims
-
1. A method of parsing a speech recognition result from a speech recognition (SR) engine, comprising:
-
sending grammar rules from a context-free grammar (CFG) engine to the SR engine in response to a query from the SR engine through an SR interface, implemented by methods on an interface component used by the CFG engine, that supports multiple different SR engines; receiving the result from the SR engine at the CFG engine wherein receiving the result comprises; receiving a rule identifier identifying a rule in a CFG that spawned the result; and receiving a plurality of transition identifiers identifying transitions through the rule that spawned the result; parsing the result at the CFG engine to obtain a parsed result by constructing an indication of a parse tree based on the rule identifier and the plurality of transition identifiers; providing the indication of the parse tree from the CFG engine to an application through the application interface; and providing the parsed result to an application from the CFG engine through an application interface, implemented by methods on the interface component, that support multiple different applications. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
Specification