Compact easily parseable binary format for a context-free grammer
First Claim
1. A computer-readable medium providing a computer-loadable data structure representing a state-and-transition-based description of a speech grammar, the data structure comprising:
- rule entries, each rule entry representing a group of transitions;
a first transition entry representing a transition from a first state; and
a second transition entry representing a second transition from the first state, the second transition entry being contiguous with the first transition entry and having a last-transition value set to indicate that the second transition is the last transition from the first state,wherein at least one transition entry has a content index value that is an index to a rule entry in the rule entries.
2 Assignments
0 Petitions
Accused Products
Abstract
A computer-loadable data structure is provided that represents a state-and-transition-based description of a speech grammar. The data structure includes first and second transition entries that both represent transitions from a first state. The second transition entry is contiguous with the first transition entry in the data structure and includes a last-transition value. The last-transition value indicating that the second transition is the last transition from the first state in the data structure. A method is also provided for retrieving information from a binary grammar. The method includes receiving an index into a set of transition entries and converting the index into a memory offset relative to the beginning of the binary grammar, where the offset is based on a memory offset to the beginning of the set of transition entries, the fixed size of each transition entry and the index.
21 Citations
16 Claims
-
1. A computer-readable medium providing a computer-loadable data structure representing a state-and-transition-based description of a speech grammar, the data structure comprising:
-
rule entries, each rule entry representing a group of transitions; a first transition entry representing a transition from a first state; and a second transition entry representing a second transition from the first state, the second transition entry being contiguous with the first transition entry and having a last-transition value set to indicate that the second transition is the last transition from the first state, wherein at least one transition entry has a content index value that is an index to a rule entry in the rule entries. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-readable medium that provides a computer-loadable data structure representing a speech grammar, the data structure comprising:
-
a string of words containing words in the speech grammar; and a set of fixed size transition entries, each transition entry representing a transition in a structure that describes the speech grammar and each transition entry having a same fixed size as all other transition entries in the set of transition entries, at least one transition entry making reference to a word in the string of words. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A computer-readable medium providing a computer loadable data structure representing a state-and-transition-based description of a speech grammar, the data structure comprising:
-
a first transition entry representing a transition from a first state; a second transition entry representing a second transition from the first state, the second transition entry being contiguous with the first transition entry and having a last-transition value set to indicate that the second transition is the last transition from the first state; a symbol string formed of a sequence of symbols; and a set of semantic entries, each semantic entry representing semantic information associated with a transition in the grammar and each semantic entry comprising a name offset that provides an offset to a symbol in the symbol string, the symbol identified by the offset representing a semantic tag. - View Dependent Claims (16)
-
Specification