# US 2015/0149391 A1 · System and a method for prividing a dialog with a user

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

- Number: US 2015/0149391 A1
- Document ID: US20150149391A1
- Status: Published application
- Kind: A1
- Application number: 14/092,972
- Filed: 2013-11-28
- Published: 2015-05-28
- Earliest claimed: 2013-11-28
- Assignees: Akademia Gorniczo-Hutnicza Im. Stanislawa Staszica W Krakowie
- Applicants: Akademia Gorniczo-Hutnicza Im. Stanislawa Staszica W Krakowie
- Inventors: Bartosz Ziolko; Tomasz Pedzimaz
- Web page: https://patentgrep.com/patent/US20150149391A1

## CPC

- G06N 7/02: using fuzzy logic (computing arrangements based on biological models G06N3/00; computing arrangements using knowledge-based models G06N5/00)
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 5/02: Knowledge representation; Symbolic representation
- G10L 15/1822: {Parsing for meaning understanding}
- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L 13/00: Speech synthesis; Text to speech systems
- G10L 25/63: for estimating an emotional state
- G10L 2015/227: {of the speaker; Human-factor methodology}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

A computer-implemented method for providing a dialog with a user, the method comprising the steps of: (a) creating (501) dialog's plot scenario as a narrative graph structure containing the dialogs; (b) assigning (502) coefficients of dialog transitions maps to narrative graph nodes; (c) providing (503) speech input for recognition in a given context and dialog phase represented by current narrative graph node; (d) applying (504) algorithm for updating dialog coefficients based on user's speech or user's other behavior; (e) applying (505) at least one fuzzy logic algorithm which using user speech, and other coefficients on the transition map, determines transition to another narrative graph node (phase of a dialog or a plot), or updates a position on the transition map continuing the dialog in the same narrative graph node (f) determining (507) a response based on coefficients of the narrative graph; (g) repeating steps (c) to (f) for a particular narrative graph node until a transition is decided in step (e); (h) after a transition in step (e) repeating steps (c) to (f) with new coefficients in a new narrative graph node starting with a new position on a dialog graph structure and with new values of coefficients.

## Claims

### Claim 1

A computer-implemented method for providing a dialog with a user, the method comprising the steps of:
(a) creating (501) dialog's plot scenario as a narrative graph structure containing the dialogs;
(b) assigning (502) coefficients of dialog transitions maps to narrative graph nodes;
(c) providing (503) speech input for recognition in a given context and dialog phase represented by current narrative graph node;
(d) applying (504) algorithm for updating dialog coefficients based on user's speech or user's other behavior;
(e) applying (505) at least one fuzzy logic algorithm which using user speech, and other coefficients on the transition map, determines transition to another narrative graph node (phase of a dialog or a plot), or updates a position on the transition map continuing the dialog in the same narrative graph node;
(f) determining (507) a response based on coefficients of the narrative graph;
(g) repeating steps (c) to (f) for a particular narrative graph node until a transition is decided in step (e);
(h) after a transition in step (e) repeating steps (c) to (f) with new coefficients in a new narrative graph node starting with a new position on a dialog graph structure and with new values of coefficients.

### Claim 2 (depends on 1)

The method according to claim 1 wherein the step of determining (506) emotional state of the user is executed prior to the step of determining of a response (507).

### Claim 3 (depends on 2)

The method according to claim 2 wherein the emotional state is recognized based on user's speech parameters and/or gesture and pose recognition based on external sensors.

### Claim 4 (depends on 1)

The method according to claim 1 wherein the coefficients of dialog transitions maps are defined partly automatically based on natural language processing methods.

### Claim 5 (depends on 1)

The method according to claim 1 wherein the step of applying (505) at least one fuzzy logic algorithm takes into account user's behavior.

### Claim 6 (depends on 1)

The method according to claim 1 wherein responses are created based on dictionary of words of a given language, a graph of semantic similarity of statements, and a set of rules for their use.

### Claim 7 (depends on 1)

The method according to claim 1 wherein for each graph node there is generated one map wherein the number of fields in the map depends on the number of possible exits from the given node.

### Claim 8 (depends on 1)

The method according to claim 1 wherein the decision about a transition is taken after a predetermined time.

### Claim 9 (depends on 1)

The method according to claim 1 wherein the decision about a transition is taken by a stop test.

### Claim 10 (depends on 8)

The method according to claim 8 wherein there is a default transition for a node if a transition map does not give a clear answer about the transition.

### Claim 11 (depends on 8)

The method according to claim 8 wherein there is a transition for a node if a transition map does not give a clear answer about the transition is taken randomly.

### Claim 12 (depends on 6)

The method according to claim 6 where speech generation module (309) uses speech synthesis.

### Claim 13 (depends on 6)

The method according to claim 6 where speech generation module (309) uses prerecorded speech.

### Claim 14 (depends on 1)

A computer readable non-transitory storage medium storing computer-executable instructions performing all the steps of the computer-implemented method according to claim 1 when executed on a computer.

### Claim 15

A computer-implemented system for providing a dialog with a user, the system comprising means for:
(a) creating (501) dialog's plot scenario as a narrative graph structure containing the dialogs;
(b) assigning (502) coefficients of dialog transitions maps to narrative graph nodes;
(c) providing (503) speech input for recognition in a given context and dialog phase represented by current narrative graph node;
(d) applying (504) algorithm for updating dialog coefficients based on user's speech or user's other behavior;
(e) applying (505) at least one fuzzy logic algorithm which using user speech, and other coefficients on the transition map, determines transition to another narrative graph node (phase of a dialog or a plot), or updates a position on the transition map continuing the dialog in the same narrative graph node;
(f) determining (507) a response based on coefficients of the narrative graph;
(g) repeating steps (c) to (f) for a particular narrative graph node until a transition is decided in step (e);
(h) after a transition in step (e) repeating steps (c) to (f) with new coefficients in a new narrative graph node starting with a new position on a dialog graph structure and with new values of coefficients.
