Creating a speech recognition grammar for alphanumeric concepts
AssigneeMicrosoft Corporation
InventorsYe-Yi Wang, Yun-Cheng Ju, Leonard Alan Collins, Mark Cecys, Alejandro Acero
Life of this patent
Estimating the term…
Abstract
A method and system to generate a grammar adapted for use by a speech recognizer includes receiving a representation of an alphanumeric expression. For instance, the representation can take the form of a regular expression or a mask. The grammar is generated based on the representation.
Claims20
A computer implemented method to generate a grammar adapted for use by a speech recognizer, the method comprising:
- parsing by a computer a representation of an alphanumeric expression into a plurality of branches, wherein the representation is distinct from the alphanumeric expression and specifies one or more characters and a location of the one or more characters relative to each other in the alphanumeric expression, wherein the representation is of the form of a regular expression as defined by W3C;
- generating grammar rules for each of the plurality of branches;
- and
- identifying one or more smaller portions of each of the branches and generating grammar rules for each of the smaller portions, wherein generating grammar rules for each of the smaller portions comprises generating grammar rules for at least one of alternative character spoken expressions and alternative character sequence spoken expressions for the smaller portions.
A computer readable storage medium having instructions operable on a computer to generate a grammar adapted for use by a speech recognizer, the instructions comprising:
- parsing a representation of an alphanumeric expression into a plurality of branches, wherein the representation is distinct from the alphanumeric expression and specifies one or more characters and a location of the one or more characters relative to each other in the alphanumeric expression, wherein the representation is of the form of a regular expression as defined by W3C;
- generating grammar rules for each of the plurality of branches;
- and
- identifying one or more smaller portions of each of the branches and generating grammar rules for each of the smaller portions, wherein generating grammar rules for each of the smaller portions comprises generating grammar rules for at least one of alternative character spoken expressions and alternative character sequence spoken expressions for the smaller portions.
A computer system to generate a grammar adapted for use by a speech recognizer, the computer system comprising:
- one or more processing units comprising:
- a parsing module adapted to parse a representation of an alphanumeric expression into a plurality of branches, wherein the representation is distinct from the alphanumeric expression and specifies one or more characters and a location of the one or more characters relative to each other in the alphanumeric expression, wherein the representation is of a regular expression as defined by W3C;
- and
- a branch rule generator module adapted to generate rules for the grammar based on the branches;
- and
- a piece rule generator module adapted to identify pieces of each of the branches and generate rules for the grammar based on each of the pieces;
- and
- one or more memory units comprising:
- a library for storing grammar rules based on pieces and wherein the piece rule generator module is adapted to identify a piece of the representation corresponding to a piece having rules stored in the library, and wherein the piece rule generator module is adapted to generate rules for the grammar based on the rules in the library,
- and wherein the piece rule generator module is adapted to generate rules for the grammar based on at least one of alternative character spoken expressions and alternative character sequence spoken expressions for the piece.
Dependencies are inferred from the claim text.