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;
representing the rules in the first grammar to the SR engine through the SR interface;
implementing an application-independent application interface between the CFG engine and an application;
receiving from the application, through the application interface, a change indication, indicating a change to the first grammar; and
determining, in the CFG engine, whether content of a rule in the first grammar is to be changed, based on the change indication; and
if so, providing an invalidation indication to the SR engine, through the SR interface, indicating the first grammar is to be invalidated.
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.
-
Citations
13 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;
representing the rules in the first grammar to the SR engine through the SR interface;
implementing an application-independent application interface between the CFG engine and an application;
receiving from the application, through the application interface, a change indication, indicating a change to the first grammar; and
determining, in the CFG engine, whether content of a rule in the first grammar is to be changed, based on the change indication; and
if so, providing an invalidation indication to the SR engine, through the SR interface, indicating the first grammar is to be invalidated. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
Specification