# US 2021/0287656 A1 · Synthetic speech processing

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

- Number: US 2021/0287656 A1
- Document ID: US20210287656A1
- Status: Published application
- Kind: A1
- Application number: 16/818,542
- Filed: 2020-03-13
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Antonio Bonafonte; Panagiotis Agis Oikonomou Filandras; Bartosz Perz; Arent van Korlaar; Ioannis Douratsos; Jonas Felix Ananda Rohnke; Elena Sokolova; Andrew Paul Breen; Nikhil Sharma
- Web page: https://patentgrep.com/patent/US20210287656A1

## CPC

- G10L 13/10: Prosody rules derived from text; Stress or intonation
- G10L 13/027: Concept to speech synthesisers; Generation of natural phrases from machine-based concepts (generation of parameters for speech synthesis out of text G10L13/08)
- G10L 13/047: Architecture of speech synthesisers
- G10L 15/16: using artificial neural networks
- G10L 15/1815: {Semantic context, e.g. disambiguation of the recognition hypotheses based on word meaning}
- 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

A speech-processing system receives both text data and natural-understanding data (e.g., a domain, intent, and/or entity) related to a command represented in the text data. The system uses the natural-understanding data to vary vocal characteristics in determining spectrogram data corresponding to the text data based on the natural-understanding data.

## Claims

### Claim 1

A computer-implemented method for generating speech, the method comprising:
receiving, from a user device, first audio data representing a command;
processing the first audio data using an automatic speech-recognition (ASR) component to determine first text data representing the speech;
processing the first text data using a natural-language understanding (NLU) component to determine natural-understanding data comprising a representation of an entity in the first text data;
processing the natural-understanding data using a dialog manager component to determine second text data representing a response to the first audio data, wherein the response includes a reference to the entity;
processing the second text data with a linguistic encoder of a text-to-speech (TTS) component to determine first encoded data representing words in the command;
processing the second text data with a second encoder of the TTS component to determine second encoded data corresponding to the natural-understanding data;
processing the first encoded data, the second encoded data, and the natural-understanding data with an attention network of the TTS component to determine weighted encoded data, the weighted encoded data corresponding to a variation in synthetic speech that places an emphasis on a name of the entity; and
processing the weighted encoded data with a speech decoder of the TTS component to determine second audio data, the second audio data corresponding to a the variation in the synthetic speech.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
processing second NLU data using the dialog manager component to determine third text data representing a second response to a second command;
processing the third text data and second natural-understanding data with a rephrasing component to determine fourth text data, the fourth text data including a representation of the entity and at least a first word unrepresented in the third text data; and
processing the fourth text data with the TTS component to determine third audio data.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further comprising:
processing third text data using the NLU component to determine second natural-understanding data comprising an intent to repeat a word represented in the first audio data;
processing the second natural-understanding data using the dialog manager component to determine fourth text data representing a response to the third text data;
processing the second natural-understanding data with the attention network to determine second weighted encoded data, the second weighted encoded data corresponding to the emphasis on the word; and
processing the second weighted encoded data with the speech decoder to determine third audio data, the third audio data corresponding to a second vocal characteristic associated with the word.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising:
determining a domain associated with the natural-understanding data;
determining that first data stored in a computer memory indicates that a style of speech is associated with the domain;
determining second data representing the style of speech,
wherein the weighted encoded data is further based at least in part on the second data.

### Claim 5

A computer-implemented method comprising:
receiving first input data corresponding to a response to a command;
receiving second input data comprising a machine representation of the command;
processing the first input data with a first model to determine first encoded data representing words;
processing the first input data with a second model to determine second encoded data corresponding to the second input data;
processing the first encoded data using the second encoded data and the second input data to determine third encoded data; and
processing the third encoded data with a third model to determine audio data, the audio data corresponding to a variation in synthesized speech associated with the second input data.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, further comprising:
processing the audio data using a vocoder to determine output audio data; and
causing output of the output audio data.

### Claim 7 (depends on 5)

The computer-implemented method of claim 5, further comprising:
receiving third input data corresponding to a second response to a second command;
processing the third input data with a fourth model to determine fourth input data different from the third input data, the fourth input data corresponding to the second input data; and
processing the fourth input data with the first model, the second model, and the third model to determine second audio data.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, further comprising:
prior to processing the third input data and, determining that the response corresponds to the second response and that the command corresponds to the second command.

### Claim 9 (depends on 5)

The computer-implemented method of claim 5, further comprising:
determining a style of speech associated with a domain associated with the response;
wherein the third encoded data is further based at least in part on the style of speech.

### Claim 10 (depends on 5)

The computer-implemented method of claim 5, further comprising:
determining a score representing a degree of the variation; and
determining that the score is less than a threshold.

### Claim 11 (depends on 5)

The computer-implemented method of claim 5, wherein processing the first input data with the second model further comprises:
processing an intermediate output of the second model with at least one recurrent layer.

### Claim 12 (depends on 5)

The computer-implemented method of claim 5, further comprising:
processing the second input data and fourth encoded data with the third model to determine second audio data, the second audio data corresponding to a second variation in the synthesized speech associated with fourth input data.

### Claim 13

A system comprising:
at least one processor; and
at least one memory including instructions that, when executed by the at least one processor, cause the system to:
receive first input data corresponding to a response to a command;
receive second input data comprising a machine representation of the command;
process the first input data with a first model to determine first encoded data representing words;
process the first input data with a second model to determine second encoded data corresponding to the second input data;
process the first encoded data using the second encoded data and the second input data with an attention network to determine third encoded data; and
process the third encoded data with a third model to determine audio data, the audio data corresponding to a variation in synthesized speech associated with the second input data.

### Claim 14 (depends on 13)

The system of claim 13, wherein the at least one memory further includes instructions that, when executed by the at least one processor, further cause the system to:
process the audio data using a vocoder to determine output audio data; and
cause output of the output audio data.

### Claim 15 (depends on 13)

The system of claim 13, wherein the at least one memory further includes instructions that, when executed by the at least one processor, further cause the system to:
receive third input data corresponding to a second response to a second command;
process the third input data with a fourth model to determine fourth input data different from the third input data; and
process the fourth input data with the first model, the second model, and the third model to determine second audio data.

### Claim 16 (depends on 15)

The system of claim 15, wherein the at least one memory further includes instructions that, when executed by the at least one processor, further cause the system to:
prior to processing the third input data and, determine that the response corresponds to the second response and that the command corresponds to the second command.

### Claim 17 (depends on 13)

The system of claim 13, wherein the at least one memory further includes instructions that, when executed by the at least one processor, further cause the system to:
determine a style of speech associated with a domain associated with the response;
wherein the third encoded data is further based at least in part on the style of speech.

### Claim 18 (depends on 13)

The system of claim 13, wherein the at least one memory further includes instructions that, when executed by the at least one processor, further cause the system to:
determine a score representing a degree of the variation; and
determine that the score is less than a threshold.

### Claim 19 (depends on 13)

The system of claim 13, wherein the at least one memory further includes instructions that, when executed by the at least one processor, further cause the system to:
process an intermediate output of the second model with at least one recurrent layer.

### Claim 20 (depends on 13)

The system of claim 13, wherein the at least one memory further includes instructions that, when executed by the at least one processor, further cause the system to:
process the second input data and fourth encoded data with the third model to determine second audio data, the second audio data corresponding to a second variation in the synthesized speech associated with fourth input data.
