Patent ID: 7206742

Claim:
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.