# US 2009/0271189 A1 · Testing A Grammar Used In Speech Recognition For Reliability In A Plurality Of Operating Environments Having Different Background Noise

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2009/0271189 A1
- Document ID: US20090271189A1
- Status: Published application
- Kind: A1
- Application number: 12/109,204
- Filed: 2008-04-24
- Published: 2009-10-29
- Earliest claimed: 2008-04-24
- Assignees: International Business Machines Corporation
- Inventors: Ciprian Agapi; William K. Bodin; Charles W. Cross, JR.; Michael H. Mirt
- Web page: https://patentgrep.com/patent/US20090271189A1

## CPC

- G10L 15/01: Assessment or evaluation of speech recognition systems
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

Methods, systems, and products for testing a grammar used in speech recognition for reliability in a plurality of operating environments having different background noise that include: receiving recorded background noise for each of the plurality of operating environments; generating a test speech utterance for recognition by a speech recognition engine using a grammar; mixing the test speech utterance with each recorded background noise, resulting in a plurality of mixed test speech utterances, each mixed test speech utterance having different background noise; performing, for each of the mixed test speech utterances, speech recognition using the grammar and the mixed test speech utterance, resulting in speech recognition results for each of the mixed test speech utterances; and evaluating, for each recorded background noise, speech recognition reliability of the grammar in dependence upon the speech recognition results for the mixed test speech utterance having that recorded background noise.

## Claims

### Claim 1

A computer-implemented method of testing a grammar used in speech recognition for reliability in a plurality of operating environments having different background noise, the method comprising:
receiving recorded background noise for each of the plurality of operating environments;
generating a test speech utterance for recognition by a speech recognition engine using a grammar;
mixing the test speech utterance with each recorded background noise, resulting in a plurality of mixed test speech utterances, each mixed test speech utterance having different background noise;
performing, for each of the mixed test speech utterances, speech recognition using the grammar and the mixed test speech utterance, resulting in speech recognition results for each of the mixed test speech utterances; and
evaluating, for each recorded background noise, speech recognition reliability of the grammar in dependence upon the speech recognition results for the mixed test speech utterance having that recorded background noise.

### Claim 2 (depends on 1)

The method of claim 1 wherein:
performing, for each of the mixed test speech utterances, speech recognition using the grammar and the mixed test speech utterance, resulting in a speech recognition results for each of the mixed test speech utterances further comprises repeatedly performing, for one of the mixed test speech utterances, the speech recognition using the grammar and the mixed test speech utterance, resulting in a plurality of speech recognition results for the mixed test speech utterance; and
evaluating, for each recorded background noise, speech recognition reliability of the grammar in dependence upon the speech recognition results for the mixed test speech utterance having that recorded background noise further comprises calculating, in dependence upon the plurality of speech recognition results for one of the mixed test speech utterance, a reliability indicator for the grammar when recognizing speech having the recorded background noise included in that mixed test speech utterance.

### Claim 3 (depends on 1)

The method of claim 1 wherein generating a test speech utterance for recognition by a speech recognition engine using a grammar further comprises sampling the test speech utterance from speech of a person.

### Claim 4 (depends on 1)

The method of claim 1 wherein generating a test speech utterance for recognition by a speech recognition engine using a grammar further comprises synthesizing the test speech utterance using a text-to-speech engine.

### Claim 5 (depends on 1)

The method of claim 1 wherein testing a grammar used in speech recognition for reliability in a plurality of operating environments having different background noise further comprises testing a plurality of grammars for use in speech recognition for a multimodal application, the multimodal application operating on a multimodal device supporting multiple modes of interaction that include a voice mode and one or more non-voice modes, the method further comprising:
identifying, by the multimodal application, a current background noise for a current operating environment in which the multimodal device operates; and
altering, by the multimodal application, flow of execution for the multimodal application in dependence upon the identified current background noise for the current operating environment in which the multimodal application operates.

### Claim 6 (depends on 5)

The method of claim 5 wherein altering, by the multimodal application, flow of execution for the multimodal application in dependence upon the identified current background noise for the current operating environment in which the multimodal application operates further comprises:
selecting, by the multimodal application, one of the plurality of grammars tested in dependence upon the current background noise and the evaluation of the speech recognition reliability of the plurality of grammars using the recorded background noises;
receiving, by the multimodal application, a voice utterance from a user; and
performing, by the multimodal application, speech recognition in dependence upon the selected grammar and the voice utterance.

### Claim 7

A system for testing a grammar used in speech recognition for reliability in a plurality of operating environments having different background noise, the system comprising one or more computer processors and computer memory operatively coupled to the computer processors, the computer memory having disposed within it computer program instructions capable of:
receiving recorded background noise for each of the plurality of operating environments;
generating a test speech utterance for recognition by a speech recognition engine using a grammar;
mixing the test speech utterance with each recorded background noise, resulting in a plurality of mixed test speech utterances, each mixed test speech utterance having different background noise;
performing, for each of the mixed test speech utterances, speech recognition using the grammar and the mixed test speech utterance, resulting in speech recognition results for each of the mixed test speech utterances; and
evaluating, for each recorded background noise, speech recognition reliability of the grammar in dependence upon the speech recognition results for the mixed test speech utterance having that recorded background noise.

### Claim 8 (depends on 7)

The system of claim 7 wherein:
performing, for each of the mixed test speech utterances, speech recognition using the grammar and the mixed test speech utterance, resulting in a speech recognition results for each of the mixed test speech utterances further comprises repeatedly performing, for one of the mixed test speech utterances, the speech recognition using the grammar and the mixed test speech utterance, resulting in a plurality of speech recognition results for the mixed test speech utterance; and
evaluating, for each recorded background noise, speech recognition reliability of the grammar in dependence upon the speech recognition results for the mixed test speech utterance having that recorded background noise further comprises calculating, in dependence upon the plurality of speech recognition results for one of the mixed test speech utterance, a reliability indicator for the grammar when recognizing speech having the recorded background noise included in that mixed test speech utterance.

### Claim 9 (depends on 7)

The system of claim 7 wherein generating a test speech utterance for recognition by a speech recognition engine using a grammar further comprises sampling the test speech utterance from speech of a person.

### Claim 10 (depends on 7)

The system of claim 7 wherein generating a test speech utterance for recognition by a speech recognition engine using a grammar further comprises synthesizing the test speech utterance using a text-to-speech engine.

### Claim 11 (depends on 7)

The system of claim 7 wherein testing a grammar used in speech recognition for reliability in a plurality of operating environments having different background noise further comprises testing a plurality of grammars for use in speech recognition for a multimodal application, the multimodal application operating on a multimodal device supporting multiple modes of interaction that include a voice mode and one or more non-voice modes, and wherein the computer memory has disposed within it computer program instructions capable of:
identifying a current background noise for a current operating environment in which the multimodal device operates; and
altering flow of execution for the multimodal application in dependence upon the identified current background noise for the current operating environment in which the multimodal application operates.

### Claim 12 (depends on 11)

The system of claim 11 wherein altering flow of execution for the multimodal application in dependence upon the identified current background noise for the current operating environment in which the multimodal application operates further comprises:
selecting one of the plurality of grammars tested in dependence upon the current background noise and the evaluation of the speech recognition reliability of the plurality of grammars using the recorded background noises;
receiving a voice utterance from a user; and
performing speech recognition in dependence upon the selected grammar and the voice utterance.

### Claim 13

A computer program product for testing a grammar used in speech recognition for reliability in a plurality of operating environments having different background noise, the computer program product disposed upon a computer readable medium, the computer program product comprising computer program instructions capable of:
receiving recorded background noise for each of the plurality of operating environments;
generating a test speech utterance for recognition by a speech recognition engine using a grammar;
mixing the test speech utterance with each recorded background noise, resulting in a plurality of mixed test speech utterances, each mixed test speech utterance having different background noise;
performing, for each of the mixed test speech utterances, speech recognition using the grammar and the mixed test speech utterance, resulting in speech recognition results for each of the mixed test speech utterances; and
evaluating, for each recorded background noise, speech recognition reliability of the grammar in dependence upon the speech recognition results for the mixed test speech utterance having that recorded background noise.

### Claim 14 (depends on 13)

The computer program product of claim 13 wherein:
performing, for each of the mixed test speech utterances, speech recognition using the grammar and the mixed test speech utterance, resulting in a speech recognition results for each of the mixed test speech utterances further comprises repeatedly performing, for one of the mixed test speech utterances, the speech recognition using the grammar and the mixed test speech utterance, resulting in a plurality of speech recognition results for the mixed test speech utterance; and
evaluating, for each recorded background noise, speech recognition reliability of the grammar in dependence upon the speech recognition results for the mixed test speech utterance having that recorded background noise further comprises calculating, in dependence upon the plurality of speech recognition results for one of the mixed test speech utterance, a reliability indicator for the grammar when recognizing speech having the recorded background noise included in that mixed test speech utterance.

### Claim 15 (depends on 13)

The computer program product of claim 13 wherein generating a test speech utterance for recognition by a speech recognition engine using a grammar further comprises sampling the test speech utterance from speech of a person.

### Claim 16 (depends on 13)

The computer program product of claim 13 wherein generating a test speech utterance for recognition by a speech recognition engine using a grammar further comprises synthesizing the test speech utterance using a text-to-speech engine.

### Claim 17 (depends on 13)

The computer program product of claim 13 wherein testing a grammar used in speech recognition for reliability in a plurality of operating environments having different background noise further comprises testing a plurality of grammars for use in speech recognition for a multimodal application, the multimodal application operating on a multimodal device supporting multiple modes of interaction that include a voice mode and one or more non-voice modes, the method further comprising:
identifying, by the multimodal application, a current background noise for a current operating environment in which the multimodal device operates; and
altering, by the multimodal application, flow of execution for the multimodal application in dependence upon the identified current background noise for the current operating environment in which the multimodal application operates.

### Claim 18 (depends on 17)

The computer program product of claim 17 wherein altering, by the multimodal application, flow of execution for the multimodal application in dependence upon the identified current background noise for the current operating environment in which the multimodal application operates further comprises:
selecting, by the multimodal application, one of the plurality of grammars tested in dependence upon the current background noise and the evaluation of the speech recognition reliability of the plurality of grammars using the recorded background noises;
receiving, by the multimodal application, a voice utterance from a user; and
performing, by the multimodal application, speech recognition in dependence upon the selected grammar and the voice utterance.

### Claim 19 (depends on 13)

The computer program product of claim 13 wherein the computer readable medium comprises a recordable medium.

### Claim 20 (depends on 13)

The computer program product of claim 13 wherein the computer readable medium comprises a transmission medium.
