# US 2016/0365092 A1 · Negative n-gram biasing

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

- Number: US 2016/0365092 A1
- Document ID: US20160365092A1
- Status: Published application
- Kind: A1
- Application number: 14/739,287
- Filed: 2015-06-15
- Published: 2016-12-15
- Earliest claimed: 2015-06-15
- Assignees: Google Inc.
- Applicants: Google Inc.
- Inventors: Pedro J. Moreno Mengibar; Petar Aleksic
- Web page: https://patentgrep.com/patent/US20160365092A1

## CPC

- G10L 15/197: Probabilistic grammars, e.g. word n-grams
- G10L 15/01: Assessment or evaluation of speech recognition systems
- G10L 2015/228: {of application context}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for performing dynamic, stroke-based alignment of touch displays. In one aspect, a method includes obtaining a candidate transcription that an automated speech recognizer generates for an utterance, determining a particular context associated with the utterance, determining that a particular n-gram that is included in the candidate transcription is included among a set of undesirable n-grams that is associated with the context, adjusting a speech recognition confidence score associated with the transcription based on determining that the particular n-gram that is included in the candidate transcription is included among the set of undesirable n-grams that is associated with the context, and determining whether to provide the candidate transcription for output based at least on the adjusted speech recognition confidence score.

## Claims

### Claim 1

A computer-implemented method comprising:
obtaining a candidate transcription that an automated speech recognizer generates for an utterance;
determining a particular context associated with the utterance;
determining that a particular n-gram that is included in the candidate transcription is included among a set of undesirable n-grams that is associated with the context;
adjusting a speech recognition confidence score associated with the transcription based on determining that the particular n-gram that is included in the candidate transcription is included among the set of undesirable n-grams that is associated with the context; and
determining whether to provide the candidate transcription for output based at least on the adjusted speech recognition confidence score.

### Claim 2 (depends on 1)

The method of claim 1, wherein the set of undesirable n-grams includes common incorrect phrases associated with the particular context associated with the utterance.

### Claim 3 (depends on 1)

The method of claim 1, comprising:
obtaining a context profile associated with the particular context, wherein the context profile specifies (i) one or more n-grams, and, (ii) for each of the one more n-grams, a value that reflects an extent to which the candidate transcription includes the n-gram specified in the context profile.

### Claim 4 (depends on 3)

The method of claim 3, wherein adjusting the speech recognition confidence score associated with the transcription comprises multiplying a value representing the speech recognition confidence score and the value that reflects an extent to which the candidate transcription includes the n-gram specified in the context profile.

### Claim 5 (depends on 3)

The method of claim 3, wherein determining a particular context associated with the utterance comprises:
determining a likely context associated with a user submitting the utterance;
comparing the likely context associated with the user to a particular context specified by the context profile; and
determining, based at least on comparing the likely context associated with the user to the particular context specified by the context profile, that the particular context specified by the context profile is associated with the utterance.

### Claim 6 (depends on 1)

The method of claim 1 comprising:
receiving (i) audio data that encodes an utterance, and (ii) context data;
obtaining candidate recognition hypotheses for the utterance that an automated speech recognizer generates based on the audio data;
obtaining a context profile associated with the received context data, wherein the context profile specifies (i) one or more n-grams, and, (ii) for each of the one more n-grams, a value that reflects an extent to which a score associated with a candidate recognition hypothesis that includes the n-gram to be biased;
for each candidate recognition hypothesis that includes an n-gram specified in the context profile, biasing the score associated with the candidate recognition hypothesis based at least on the corresponding value specified for the n-gram;
selecting, from among the candidate recognition hypotheses, a particular candidate recognition hypothesis based at least on (i) the score, for each candidate recognition hypothesis that does not include an n-gram specified in the context profile, and (ii) the biased score, for each candidate recognition hypothesis that does include an n-gram specified in the context profile; and
providing the particular candidate recognition hypothesis for output.

### Claim 7 (depends on 6)

The method of claim 6, wherein the score associated with a candidate recognition hypothesis represents a speech recognition confidence score.

### Claim 8 (depends on 6)

The method of claim 6, wherein biasing the score associated with the candidate recognition hypothesis comprises negatively biasing the score based at least on the context profile associated with the received context data.

### Claim 9 (depends on 8)

The method of claim 8, wherein biasing the score associated with the candidate recognition hypothesis comprises negatively biasing the score based at least on determining that the audio data comprises low signal-to-noise ratio audio data.

### Claim 10 (depends on 8)

The method of claim 8, wherein biasing the score associated with the candidate recognition hypothesis comprises negatively biasing the score based at least on determining that the audio data comprises audio data encoding utterances that include highly inflected language queries.

### Claim 11

A system comprising:
one or more computers; and
a non-transitory computer-readable medium coupled to the one or more computers having instructions stored thereon, which, when executed by the one or more computers, cause the one or more computers to perform operations comprising:
obtaining a candidate transcription that an automated speech recognizer generates for an utterance;
determining a particular context associated with the utterance;
determining that a particular n-gram that is included in the candidate transcription is included among a set of undesirable n-grams that is associated with the context;
adjusting a speech recognition confidence score associated with the transcription based on determining that the particular n-gram that is included in the candidate transcription is included among the set of undesirable n-grams that is associated with the context; and
determining whether to provide the candidate transcription for output based at least on the adjusted speech recognition confidence score.

### Claim 12 (depends on 11)

The system of claim 11, comprising:
obtaining a context profile associated with the particular context, wherein the context profile specifies (i) one or more n-grams, and, (ii) for each of the one more n-grams, a value that reflects an extent to which the candidate transcription includes the n-gram to specified in the context profile.

### Claim 13 (depends on 12)

The system of claim 12, wherein adjusting the speech recognition confidence score associated with the transcription comprises multiplying a value representing the speech recognition confidence score and the value that reflects an extent to which the candidate transcription includes the n-gram specified in the context profile.

### Claim 14 (depends on 12)

The system of claim 12, wherein determining a particular context associated with the utterance comprises:
determining a likely context associated with a user submitting the utterance;
comparing the likely context associated with the user to a particular context specified by the context profile; and
determining, based at least on comparing the likely context associated with the user to the particular context specified by the context profile, that the particular context specified by the context profile is associated with the utterance.

### Claim 15 (depends on 11)

The system of claim 11 comprising:
receiving (i) audio data that encodes an utterance, and (ii) context data;
obtaining candidate recognition hypotheses for the utterance that an automated speech recognizer generates based on the audio data;
obtaining a context profile associated with the received context data, wherein the context profile specifies (i) one or more n-grams, and, (ii) for each of the one more n-grams, a value that reflects an extent to which a score associated with a candidate recognition hypothesis that includes the n-gram to be biased;
for each candidate recognition hypothesis that includes an n-gram specified in the context profile, biasing the score associated with the candidate recognition hypothesis based at least on the corresponding value specified for the n-gram;
selecting, from among the candidate recognition hypotheses, a particular candidate recognition hypothesis based at least on (i) the score, for each candidate recognition hypothesis that does not include an n-gram specified in the context profile, and (ii) the biased score, for each candidate recognition hypothesis that does include an n-gram specified in the context profile; and
providing the particular candidate recognition hypothesis for output.

### Claim 16 (depends on 15)

The system of claim 15, wherein the score associated with a candidate recognition hypothesis represents a speech recognition confidence score.

### Claim 17 (depends on 15)

The system of claim 15, wherein biasing the score associated with the candidate recognition hypothesis comprises negatively biasing the score based at least on the context profile associated with the received context data.

### Claim 18 (depends on 17)

The system of claim 17, wherein biasing the score associated with the candidate recognition hypothesis comprises negatively biasing the score based at least on determining that the audio data comprises low signal-to-noise ratio audio data.

### Claim 19 (depends on 17)

The system of claim 17, wherein biasing the score associated with the candidate recognition hypothesis comprises negatively biasing the score based at least on determining that the audio data comprises audio data encoding utterances that include highly inflected language queries.

### Claim 20

A non-transitory computer storage device encoded with a computer program, the program comprising instructions that when executed by one or more computers cause the one or more computers to perform operations comprising:
obtaining a candidate transcription that an automated speech recognizer generates for an utterance;
determining a particular context associated with the utterance;
determining that a particular n-gram that is included in the candidate transcription is included among a set of undesirable n-grams that is associated with the context;
adjusting a speech recognition confidence score associated with the transcription based on determining that the particular n-gram that is included in the candidate transcription is included among the set of undesirable n-grams that is associated with the context; and
determining whether to provide the candidate transcription for output based at least on the adjusted speech recognition confidence score.
