# US 2019/0244610 A1 · Factor graph for semantic parsing

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

- Number: US 2019/0244610 A1
- Document ID: US20190244610A1
- Status: Published application
- Kind: A1
- Application number: 16/257,856
- Filed: 2019-01-25
- Published: 2019-08-08
- Earliest claimed: 2013-06-28
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Fadi Biadsy; Pedro J. Moreno Mengibar
- Web page: https://patentgrep.com/patent/US20190244610A1

## CPC

- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L 2015/223: {Execution procedure of a spoken command}
- 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 generating expressions associated with voice commands. The methods, systems, and apparatus include actions of obtaining segments of one or more expressions associated with a voice command. Further actions include combining the segments into a candidate expression and scoring the candidate expression using a text corpus. Additional actions include selecting the candidate expression as an expression associated with the voice command based on the scoring of the candidate expression.

## Claims

### Claim 1

(canceled)

### Claim 2

A computer-implemented method comprising:
accessing one or more phrases that are compared to a transcription of a subsequently received user utterance;
generating multiple different terms by tokenizing the one or more phrases;
combining the multiple different terms to generate additional phrases that are not included in the one or more phrases;
selecting a subset of the additional phrases that are not included in the one or more phrases; and
storing the subset of the additional phrases that are not included in the one or more phrase for comparison to the transcription of the subsequently received user utterance.

### Claim 3 (depends on 2)

The method of claim 2, wherein selecting the subset of the additional phrases that are not included in the one or more phrases comprises:
for each additional phrase of the additional phrases:
determining a frequency with which the additional phrase is matched to transcriptions of previously submitted utterances that are stored in a text corpus;
determining that the frequency satisfies a predetermined frequency threshold; and
in response to determining that the frequency satisfies the predetermined frequency threshold, selecting the additional phrase.

### Claim 4 (depends on 2)

The method of claim 2, comprising:
receiving audio data of a user utterance;
generating a transcription of the user utterance;
comparing the transcription of the user utterance to the one or more phrases;
based on comparing the transcription of the user utterance to the one or more phrases, determining that the transcription of the user utterances matches at least one of the one or more phrases; and
based on determining that the transcription of the user utterances matches the at least one of the one or more phrases, executing a voice command associated with the one or more phrases.

### Claim 5 (depends on 2)

The method of claim 2, comprising:
receiving audio data of a user utterance;
generating a transcription of the user utterance;
comparing the transcription of the user utterance to the additional phrases;
based on comparing the transcription of the user utterance to the additional phrases, determining that the transcription of the user utterances matches at least one of the additional phrases; and
based on determining that the transcription of the user utterances matches the at least one of the additional phrases, executing a voice command associated with the one or more phrases.

### Claim 6 (depends on 2)

The method of claim 2, comprising:
before storing the subset of the additional phrases:
receiving audio data of a user utterance;
generating a transcription of the user utterance;
comparing the transcription of the user utterance to the one or more phrases;
based on comparing the transcription of the user utterance to the one or more phrases, determining that the transcription of the user utterances does not match at least one of the one or more phrases; and
based on determining that the transcription of the user utterances does not match the at least one of the one or more phrases, bypassing execution of a voice command associated with the one or more phrases,
wherein the transcription of the user utterance matches at least one of the additional phrases.

### Claim 7 (depends on 2)

The method of claim 2, wherein a term of the multiple different terms comprise a word or an argument.

### Claim 8 (depends on 2)

The method of claim 2, wherein generating multiple different terms by tokenizing the one or more phrases comprises:
obtaining the one or more phrases from an expression database;
identifying syntactic constituents in the one or more phrases; and
defining the multiple different terms in the one or more phrases based on the identification of the syntactic constituents.

### Claim 9 (depends on 2)

The method of claim 2, wherein combining the multiple different terms comprises:
obtaining a rule for combining multiple different terms of phrases; and
applying the rule to the multiple different terms.

### Claim 10 (depends on 9)

The method of claim 9, wherein the rule specifies to replace particular terms of the multiple different terms with other terms.

### Claim 11 (depends on 9)

The method of claim 9, wherein the rule specifies to place particular terms of the multiple different terms at particular locations within the candidate expression.

### Claim 12

A system comprising:
one or more computers; and
one or more storage devices storing instructions that are operable, when executed by the one or more computers, to cause the one or more computers to perform operations comprising:
accessing one or more phrases that are compared to a transcription of a subsequently received user utterance;
generating multiple different terms by tokenizing the one or more phrases;
combining the multiple different terms to generate additional phrases that are not included in the one or more phrases;
selecting a subset of the additional phrases that are not included in the one or more phrases; and
storing the subset of the additional phrases that are not included in the one or more phrase for comparison to the transcription of the subsequently received user utterance.

### Claim 13 (depends on 12)

The system of claim 12, wherein selecting the subset of the additional phrases that are not included in the one or more phrases comprises:
for each additional phrase of the additional phrases:
determining a frequency with which the additional phrase is matched to transcriptions of previously submitted utterances that are stored in a text corpus;
determining that the frequency satisfies a predetermined frequency threshold; and
in response to determining that the frequency satisfies the predetermined frequency threshold, selecting the additional phrase.

### Claim 14 (depends on 12)

The system of claim 12, wherein the operations comprise:
receiving audio data of a user utterance;
generating a transcription of the user utterance;
comparing the transcription of the user utterance to the one or more phrases;
based on comparing the transcription of the user utterance to the one or more phrases, determining that the transcription of the user utterances matches at least one of the one or more phrases; and
based on determining that the transcription of the user utterances matches the at least one of the one or more phrases, executing a voice command associated with the one or more phrases.

### Claim 15 (depends on 12)

The system of claim 12, wherein the operations comprise:
receiving audio data of a user utterance;
generating a transcription of the user utterance;
comparing the transcription of the user utterance to the additional phrases;
based on comparing the transcription of the user utterance to the additional phrases, determining that the transcription of the user utterances matches at least one of the additional phrases; and
based on determining that the transcription of the user utterances matches the at least one of the additional phrases, executing a voice command associated with the one or more phrases.

### Claim 16 (depends on 12)

The system of claim 12, wherein the operations comprise:
before storing the subset of the additional phrases:
receiving audio data of a user utterance;
generating a transcription of the user utterance;
comparing the transcription of the user utterance to the one or more phrases;
based on comparing the transcription of the user utterance to the one or more phrases, determining that the transcription of the user utterances does not match at least one of the one or more phrases; and
based on determining that the transcription of the user utterances does not match the at least one of the one or more phrases, bypassing execution of a voice command associated with the one or more phrases,
wherein the transcription of the user utterance matches at least one of the additional phrases.

### Claim 17 (depends on 12)

The system of claim 12, wherein a term of the multiple different terms comprise a word or an argument.

### Claim 18 (depends on 12)

The system of claim 12, wherein generating multiple different terms by tokenizing the one or more phrases comprises:
obtaining the one or more phrases from an expression database;
identifying syntactic constituents in the one or more phrases; and
defining the multiple different terms in the one or more phrases based on the identification of the syntactic constituents.

### Claim 19 (depends on 12)

The system of claim 12, wherein combining the multiple different terms comprises:
obtaining a rule for combining multiple different terms of phrases; and
applying the rule to the multiple different terms.

### Claim 20 (depends on 19)

The system of claim 19, wherein the rule specifies to replace particular terms of the multiple different terms with other terms.

### Claim 21

A non-transitory computer-readable medium storing software comprising instructions executable by one or more computers which, upon such execution, cause the one or more computers to perform operations comprising:
accessing one or more phrases that are compared to a transcription of a subsequently received user utterance;
generating multiple different terms by tokenizing the one or more phrases;
combining the multiple different terms to generate additional phrases that are not included in the one or more phrases;
selecting a subset of the additional phrases that are not included in the one or more phrases; and
storing the subset of the additional phrases that are not included in the one or more phrase for comparison to the transcription of the subsequently received user utterance.
