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;
receiving rule queries from the SR engine through the SR interface;
providing rule information to the SR engine, through the SR interface, the rule information enabling the SR engine to construct an internal representation of the first grammar; and
wherein providing the rule information includes providing a rule identifier, a rule level indicator indicating a level of a corresponding rule, state information representing states in the corresponding rule and transition information representing transitions in the corresponding rule.
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.
45 Citations
11 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; receiving rule queries from the SR engine through the SR interface; providing rule information to the SR engine, through the SR interface, the rule information enabling the SR engine to construct an internal representation of the first grammar; and wherein providing the rule information includes providing a rule identifier, a rule level indicator indicating a level of a corresponding rule, state information representing states in the corresponding rule and transition information representing transitions in the corresponding rule. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer readable medium including instructions which, when implemented by a computer, cause the computer to perform 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; receiving rule queries from the SR engine through the SR interface; providing rule information to the SR engine, through the SR interface, the rule information enabling the SR engine to construct an internal representation of the first grammar; and wherein providing the rule information includes providing a rule identifier, a rule level indicator indicating a level of a corresponding rule, state information representing states in the corresponding rule and transition information representing transitions in the corresponding rule.
-
Specification