# US 2021/0343288 A1 · Knowledge enhanced spoken dialog system

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

- Number: US 2021/0343288 A1
- Document ID: US20210343288A1
- Status: Published application
- Kind: A1
- Application number: 16/862,626
- Filed: 2020-04-30
- Published: 2021-11-04
- Earliest claimed: 2020-04-30
- Assignees: Robert Bosch GmbH
- Applicants: Robert Bosch GmbH
- Inventors: Zhengyu ZHOU; Vikas YADAV; Yongliang HE; In Gyu CHOI
- Web page: https://patentgrep.com/patent/US20210343288A1

## CPC

- G10L 15/26: Speech to text systems (G10L15/08 takes precedence)
- 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 15/04: Segmentation; Word boundary detection
- G10L 15/1815: {Semantic context, e.g. disambiguation of the recognition hypotheses based on word meaning}
- G10L 15/197: Probabilistic grammars, e.g. word n-grams
- G10L 25/63: for estimating an emotional state
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

A spoken dialog system and methods of using the system is described. A method may comprise: receiving audible human speech from a user; determining textual speech data based on the audible human speech; extracting, from the audible human speech, signal speech data that is indicative of acoustic characteristics which correspond to the textual speech data; and using the textual speech data and the signal speech data, generating a response to the audible human speech.

## Claims

### Claim 1

A method of response generation, comprising:
receiving audible human speech from a user;
determining textual speech data based on the audible human speech;
extracting, from the audible human speech, signal speech data that is indicative of acoustic characteristics which correspond to the textual speech data;
based on the textual speech data, determining, using a natural language understanding model, a text string comprising an ambiguation, wherein the ambiguation comprises a first interpretation of the text string and a second interpretation of the text string, wherein the first interpretation differs from the second interpretation;
determining the first interpretation is most accurate by corresponding word boundaries determined from the text string with the acoustic characteristics determined from the signal speech data; and
generating a response to the audible human speech based on the first interpretation.

### Claim 2 (depends on 1)

The method of claim 1, wherein the signal speech data comprises at least one of sarcasm information, emotion information, pause information, or emphasis information.

### Claim 3 (depends on 1)

The method of claim 1, further comprising determining the first interpretation using pause information in the signal speech data, wherein the pause information corresponds to at least one word boundary in the text string.

### Claim 4 (depends on 3)

The method of claim 3, wherein determining the first interpretation further comprises: using a name entity recognition (NER) system to evaluate at least one Name Entity of the text string; and determining the pause information (of the signal speech data) at the at least one word boundary of the Name Entity.

### Claim 5 (depends on 4)

The method of claim 4, wherein determining the first interpretation further comprises: determining the at least one Name Entity from among a plurality of Name Entities in the text string, wherein the at least one Name Entity is one of a B-<NameEntity> that is between a first threshold and a second threshold, or wherein the at least one Name Entity is one of an I-<NameEntity> that is between a third threshold and a fourth threshold.

### Claim 6 (depends on 4)

The method of claim 4, wherein generating the response comprises:
generating a first preliminary response using the NER system;
determining a second preliminary response based on a sarcasm evaluation of the audible human speech; and
determining a final response based on a ranking of the first and second preliminary responses,
wherein the sarcasm evaluation comprises:
determining that a text-based sentiment is Positive or Neutral by processing the textual speech data using a text-based sentiment analysis tool;
determining that a signal-based sentiment is Negative by processing the signal speech data using a signal-based sentiment analysis tool; and
detecting sarcasm based on the text-based sentiment being Positive or Neutral while the signal-based sentiment is Negative.

### Claim 7 (depends on 6)

The method of claim 6, wherein the second preliminary response is determined using an end-to-end neural network, wherein, when sarcasm is detected, an input to the neural network comprises a sarcasm token and a one-hot vector which represents that the audible human speech comprises sarcasm.

### Claim 8 (depends on 3)

The method of claim 3, wherein determining the first interpretation further comprises: identifying a first word boundary and a second word boundary using a chunking analysis.

### Claim 9 (depends on 8)

The method of claim 8, wherein determining the first interpretation further comprises: analyzing the first and second word boundaries using a classification algorithm.

### Claim 10 (depends on 9)

The method of claim 9, wherein determining the first interpretation further comprises: determining a binary prediction that either the first word boundary or the second word boundary is most accurate.

### Claim 11 (depends on 10)

The method of claim 10, wherein generating the response comprises:
generating a first preliminary response based on the chunking analysis;
determining a second preliminary response based on a sarcasm evaluation of the audible human speech; and
determining a final response based on a ranking of the first and second preliminary responses,
wherein the sarcasm evaluation comprises:
determining that a text-based sentiment is Positive or Neutral by processing the textual speech data using a text-based sentiment analysis tool;
determining that a signal-based sentiment is Negative by processing the signal speech data using a signal-based sentiment analysis tool; and
detecting sarcasm based on the text-based sentiment being Positive or Neutral while the signal-based sentiment is Negative.

### Claim 12 (depends on 11)

The method of claim 11, wherein the second preliminary response is determined using an end-to-end neural network, wherein, when sarcasm is detected, an input to the neural network comprises a sarcasm token and a one-hot vector which represents that the audible human speech comprises sarcasm.

### Claim 13 (depends on 1)

The method of claim 1, further comprising: prior to generating the response, evaluating, at a dialog management model the first interpretation in light of one or more of: sarcasm information, emotion information, emphasis information, data regarding the user, data regarding a context of the audible human speech, or external data relevant to the user or the audible human speech, wherein the external data comprises data regarding a time of the audible human speech, data regarding a location of the audible human speech, or both.

### Claim 14 (depends on 1)

The method of claim 1, wherein the audible human speech is received via or the response is generated via one of: a table-top device, a kiosk, a mobile device, a vehicle, or a robotic machine.

### Claim 15

A non-transitory computer-readable medium comprising a plurality of computer-executable instructions and memory for maintaining the plurality of computer-executable instructions, wherein the plurality of computer-executable instructions, when executed by one or more processors of a computer, perform the following function(s):
receive audible human speech from a user;
determine textual speech data based on the audible human speech;
extract, from the audible human speech, signal speech data that is indicative of acoustic characteristics which correspond to the textual speech data;
based on the textual speech data, determine, using a natural language understanding model, a text string comprising an ambiguation, wherein the ambiguation comprises a first interpretation of the text string and a second interpretation of the text string, wherein the first interpretation differs from the second interpretation;
determine the first interpretation is most accurate by corresponding word boundaries determined from the text string with the acoustic characteristics determined from the signal speech data; and
generate a response to the audible human speech based on the first interpretation.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the plurality of computer-executable instructions, when executed by the one or more processors of the computer, further perform the function(s) of: determining the first interpretation using pause information in the signal speech data, wherein the pause information corresponds to at least one word boundary in the text string.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein determining the first interpretation further comprises: using a name entity recognition (NER) system to evaluate at least one Name Entity of the text string; and determining the pause information (of the signal speech data) at the at least one word boundary of the Name Entity.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein
generating the response comprises:
generating a first preliminary response using the NER system;
determining a second preliminary response based on a sarcasm evaluation of the audible human speech; and
determining a final response based on a ranking of the first and second preliminary responses,
wherein the sarcasm evaluation comprises:
determining that a text-based sentiment is Positive or Neutral by processing the textual speech data using a text-based sentiment analysis tool;
determining that a signal-based sentiment is Negative by processing the signal speech data using a signal-based sentiment analysis tool; and
detecting sarcasm based on the text-based sentiment being Positive or Neutral while the signal-based sentiment is Negative.

### Claim 19 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein determining the first interpretation further comprises: identifying a first word boundary and a second word boundary using a chunking analysis.

### Claim 20

A method of response generation, comprising:
receiving audible human speech from a user;
determining textual speech data based on the audible human speech;
extracting, from the audible human speech, signal speech data that indicative of acoustic characteristics which correspond to the textual speech data;
using a text-based sentiment analysis tool, determining that a sentiment analysis of the textual speech data is Positive or Neutral;
using a signal-based sentiment analysis tool, determining that a sentiment analysis of the signal speech data is Negative; and
based on the sentiment analyses of the textual and signal speech data, determining that the audible human speech comprises sarcasm.
