# US 2021/0174794 A1 · Dynamic wakewords for speech-enabled devices

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

- Number: US 2021/0174794 A1
- Document ID: US20210174794A1
- Status: Published application
- Kind: A1
- Application number: 16/704,944
- Filed: 2019-12-05
- Published: 2021-06-10
- Earliest claimed: 2019-12-05
- Assignees: SoundHound, Inc.
- Applicants: SoundHound, Inc.
- Inventors: Bernard Mont-Reynaud
- Web page: https://patentgrep.com/patent/US20210174794A1

## CPC

- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G06F 3/167: {Audio in a user interface, e.g. using voice commands for navigating, audio feedback}
- G10L 15/063: {Training}
- G10L 15/07: to the speaker
- G10L 15/08: Speech classification or search
- G10L 17/04: Training, enrolment or model building
- G06F 21/32: using biometric data, e.g. fingerprints, iris scans or voiceprints
- G10L 2015/088: {Word spotting}
- 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
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method are disclosed capable of parsing a spoken utterance into a natural language request and a speech audio segment, where the natural language request directs the system to use the speech audio segment as a new wakeword. In response to this wakeword assignment directive, the system and method are further capable of immediately building a new wakeword spotter to activate the device upon matching the new wakeword in the input audio. Different approaches to promptly building a new wakeword spotter are described. Variations of wakeword assignment directives can make the new wakeword public or private. They can also add the new wakeword to earlier wakewords, or replace earlier wakewords.

## Claims

### Claim 1

A method of modifying the set of one or more wakewords of a speech-enabled device, comprising:
receiving, from a user, a spoken request;
parsing the request into a natural language request and a speech audio segment, wherein the natural language request instructs the device to accept the speech audio segment as a new wakeword;
building a new wakeword spotter to recognize the new wakeword as an activation trigger.

### Claim 2 (depends on 1)

The method of claim 1, wherein the new wakeword spotter is built immediately.

### Claim 3 (depends on 1)

The method of claim 1, comprising giving the user a spoken response to the natural language request, the response confirming the new wakeword, wherein the new wakeword spotter is built before the end of the spoken response.

### Claim 4 (depends on 1)

The method of claim 1, wherein the spoken request is received at any time during a spoken dialog between the user and the device.

### Claim 5 (depends on 1)

The method of claim 1, further comprising defining the new wakeword spotter, wherein the new wakeword spotter is built locally on the device.

### Claim 6 (depends on 1)

The method of claim 1, further comprising training the new wakeword spotter, wherein the new wakeword spotter training is performed remotely on a server connected by a network to the device.

### Claim 7 (depends on 1)

The method of claim 1, further comprising adding the new wakeword to an earlier wakeword set comprising at least the earlier wakeword, the wakeword spotter activating the device upon receiving a speech audio segment comprising the new wakeword or a wakeword from the earlier wakeword set.

### Claim 8 (depends on 1)

The method of claim 1, further comprising replacing one or more earlier wakewords with the new wakeword, so that, going forward, the device activates upon receiving a speech audio segment that matches the new wakeword, and does not activate upon receiving a speech audio segment that matches an earlier wakeword.

### Claim 9 (depends on 8)

The method of claim 8, further comprising the step of later resetting the device to the earlier wakeword, such that the wakeword spotter activates the device upon receiving a speech audio segment comprising the earlier wakeword.

### Claim 10 (depends on 8)

The method of claim 8, further comprising a way to later reset the wakeword set of the device to factory settings.

### Claim 11 (depends on 1)

The method of claim 1, wherein the wakeword spotter is trained based on the speech audio segment, and the training is speaker-dependent, such that the device will activate when the new wakeword is spoken by the user that created the new wakeword, but not when spoken by others.

### Claim 12 (depends on 11)

The method of claim 11, further comprising generating a model of the user's voice to be used for speaker verification purposes.

### Claim 13 (depends on 1)

The method of claim 1, wherein the wakeword spotter is trained based on the speech audio segment, and the training is speaker-independent, such that the device will activate when the new wakeword is spoken by the user that created the new wakeword and others that did not create the new wakeword.

### Claim 14 (depends on 1)

The method of claim 1, wherein the device solicits from the user additional speech audio samples for the new wakeword, and the wakeword spotter is trained using the speech audio segment and the additional speech audio samples.

### Claim 15 (depends on 14)

The method of claim 14, wherein the new wakeword spotter training is performed locally on the device.

### Claim 16 (depends on 1)

The method of claim 1, wherein the step of defining a new wakeword spotter comprises the step of training the new wakeword spotter using cached spotters for at least portions of phonetic segments of the new wakeword.

### Claim 17 (depends on 1)

The method of claim 1, wherein the step of defining a new wakeword spotter comprises the step of dividing the wakeword into phonetic segments and using cached spotters for at least portions of the phonetic segments.

### Claim 18 (depends on 1)

The method of claim 1, wherein the step of defining a new wakeword spotter comprises the step of dividing the wakeword into phonetic segments and building spotters for the phonetic segments.

### Claim 19 (depends on 1)

The method of claim 1, wherein the wakeword spotter is formed from phonetic segments streamed from a remote server and compared to phonetic segments of wakewords stored on the device.

### Claim 20

A method of modifying the set of one or more wakewords of a speech-enabled device, comprising:
receiving a spoken utterance;
parsing the utterance into a natural language request and a speech audio segment, wherein the natural language request instructs the device to accept the speech audio segment as a new wakeword;
using automatic speech recognition to map the wakeword to a wakeword phonetic sequence;
building a new wakeword spotter to recognize the new wakeword phonetic sequence as an activation trigger by:
dividing the new wakeword phonetic sequence into a sequence of two or more successive partial phonetic segments;
for each partial phonetic segment, providing a corresponding partial wakeword spotter; and
assembling sequentially the provided partial wakeword spotters into a wakeword spotter for the entire new wakeword phonetic sequence.

### Claim 21 (depends on 20)

The method of claim 20, wherein said step of dividing the wakeword sequence into phonetic segments comprises the step of dividing the wakeword sequence into words.

### Claim 22 (depends on 20)

The method of claim 20, wherein said step of dividing the wakeword sequence into phonetic segments comprises the step of dividing the wakeword sequence into separate syllables.

### Claim 23 (depends on 20)

The method of claim 20, wherein said step of dividing the wakeword sequence into phonetic segments comprises the step of dividing the wakeword sequence into phonetic segments smaller than syllables.

### Claim 24 (depends on 20)

The method of claim 20, wherein providing a partial wakeword spotter for a partial phonetic segment comprises:
identifying a dataset of phonetically labeled audio segments;
searching the dataset to collect audio segments whose phonetic label matches the partial phonetic segment, and
training the partial wakeword spotter based on the collected audio segments.

### Claim 25 (depends on 20)

The method of claim 20, wherein providing a partial wakeword spotter for a partial phonetic segment comprises:
identifying a collection of cached wakeword spotters, indexed by wakeword;
retrieving a cached wakeword spotter for the partial phonetic segment.

### Claim 26 (depends on 20)

The method of claim 20, wherein said step of providing portions of the wakeword spotter for each of the phonetic segments comprises the steps of retrieving, from a cache of wakeword spotters, partial wakeword spotters for successive phonetic segments of the phonetic sequence, and assembling the partial wakeword spotters into the new wakeword spotter.

### Claim 27 (depends on 20)

The method of claim 20, wherein said step of determining portions of the wakeword spotter for each of the phonetic segments comprises the steps of
checking memory for a cached wakeword spotter for a phonetic segment, and
building a wakeword spotter for the phonetic segment if the phonetic segment does not have a wakeword spotter cached in memory.

### Claim 28 (depends on 20)

The method of claim 20, further comprising adding the new wakeword to an earlier wakeword set comprising at least the earlier wakeword, the wakeword spotter activating the device upon receiving a speech audio segment comprising the new wakeword or a wakeword from the earlier wakeword set.

### Claim 29

A method of modifying the set of one or more wakewords of a speech-enabled device, comprising:
receiving a spoken request;
parsing the request into a natural language request and a speech audio segment, wherein the natural language request instructs the device to accept the speech audio segment as a new wakeword;
defining a new wakeword spotter to recognize the new wakeword as an activation trigger by:
determining additional speech audio samples of the speech audio segment,
converting the speech audio segment and the additional speech audio samples to phoneme sequences,
defining the wakeword spotter based on one or more of the phoneme sequences.

### Claim 30 (depends on 29)

The method of claim 29, wherein the new wakeword is a private wakeword to a person that provided the spoken request, such that the device activates upon receiving the new wakeword from the person but not others.

### Claim 31 (depends on 29)

The method of claim 29, further comprising receiving feedback from a user to verify correctness of a phoneme sequence when two or more of the phoneme sequences differ from each other.

### Claim 32 (depends on 29)

The method of claim 29, further comprising adding the new wakeword to an earlier wakeword set comprising at least the earlier wakeword, the wakeword spotter activating the device upon receiving a speech audio segment comprising the new wakeword or a wakeword from the earlier wakeword set.

### Claim 33 (depends on 29)

The method of claim 29, further comprising replacing an earlier wakeword with the new wakeword, such that the wakeword spotter activates the device upon receiving a speech audio segment comprising the new wakeword, and not activating the device upon receiving a speech audio segment comprising the earlier wakeword.

### Claim 34 (depends on 29)

The method of claim 29, further comprising the step resetting the device to the earlier wakeword, such that the wakeword spotter activates the device upon receiving a speech audio segment comprising the earlier wakeword.
