Text normalization using a context-free grammar
AssigneeMicrosoft Corporation
InventorsFileno A. Alleva, Michael J. Rozak, Larry J. Israel
Life of this patent
Estimating the term…
Abstract
A text normalizer normalizes text that is output from a speech recognizer. The normalization of the text produces text that is less awkward and more familiar to recipients of the text. The text may be normalized to include audio content, video content, or combinations of audio and video contents. The text may also be normalized to produce a hypertext document. The text normalization is performed using a context-free grammar. The context-free grammar includes rules that specify how text is to be normalized. The context-free grammar may be organized as a tree that is used to parse text and facilitate normalization. The context-free grammar is extensible and may be readily changed.
Claims50
In a computer system having a speech recognition engine for recognizing content in input speech, a method comprising the computer-implemented steps of:
- receiving text corresponding to speech input from the speech recognition engine;
- applying a context-free grammar to identify substitute content for the received text;
- and
- substituting the text with the substitute content.
In a computer system having a speech recognizer for recognizing portions of speech in speech input, a method comprising the computer-implemented steps of:
- providing a file that sets forth rules of a context-free grammar for normalizing text;
- receiving text from the speech recognizer, said text corresponding to speech input;
- and
- normalizing at least a portion of said text to replace the portion of said text with a normalized alphanumeric string, said normalizing comprising applying a rule from the context-free grammar to replace the portion of said text being normalized with the normalized alphanumeric string.
In a computer system having an application program and a speech recognizer for recognizing portions of speech in speech input and outputting text corresponding to the recognized portions of speech, a method comprising the computer implemented steps of:
- providing an application program interface (API) that includes a text normalizer;
- receiving text from the speech recognizer at the text normalizer;
- normalizing the text by applying a rule from a context-free grammar to alter contents of the text and produce normalized text;
- and
- passing the normalized text to the application program.
A computer system, comprising:
- a speech recognizer for recognizing portions of speech in speech input and producing textual output corresponding to the recognized portions of speech;
- a context-free grammar that contains rules for normalizing text;
- and
- a text normalizer that applies at least one rule from the context-free grammar to the textual output from the speech recognizer.
In a system having a speech recognition engine for recognizing content in input speech, a computer-readable medium holding computer-executable instructions for performing a method comprising the computer-implemented steps of:
- receiving text corresponding to speech input from the speech recognition engine;
- applying a context-free grammar to identify substitute content for the received text;
- and
- substituting the text with the substitute content.
In a computer system having a speech recognizer for recognizing portions of speech in speech input, a computer-readable medium holding computer-executable instructions for performing a method comprising the computer-implemented steps of:
- providing a file that sets forth rules of a context-free grammar for normalizing text;
- receiving text from the speech recognizer, said text corresponding to speech input;
- and
- normalizing at least a portion of said text to replace the portion of said text with a normalized alphanumeric string, said normalizing comprising applying a rule from the context-free grammar to replace the portion of said text being normalized with the normalized alphanumeric string.
In a computer system having an application program and a speech recognizer for recognizer portions of speech in speech input and outputting text corresponding to the recognized portions of speech, a computer-readable medium holding computer-executable instructions for performing a method comprising the computer-implemented steps of:
- providing an application program interface (API) that includes a text normalizer;
- receiving text from the speech recognizer at the text normalizers;
- normalizing the text by applying the rule from a context-free grammar to alter contents of the text and produce normalized text;
- and
- passing the normalized text to the application program.
Dependencies are inferred from the claim text.