System for interactive simulated conversations

The interactive speech simulation system addresses the lack of dynamic scenario adaptation in existing systems by using NLP to analyze user data and adapt scenarios, enhancing response evaluation speed and accuracy, and providing immersive and effective communication skill training.

WO2024205442A1PCT designated stage expired Publication Date: 2024-10-03LLC CEREVRUM

Patent Information

Application Number
PCT/RU2023/000098
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-29
Filing Date
2023-03-30
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Existing natural language processing systems for speech simulations lack interactive capabilities, failing to continuously evaluate user responses and adapt scenarios dynamically, limiting their effectiveness in teaching communication skills and providing immersive simulations.

Method used

An interactive speech simulation system that utilizes natural language processing to automatically collect and analyze user data, including audio and text inputs, to evaluate responses and dynamically change scenarios based on user interactions, incorporating a dictionary of stop words, semantic text comparison, sentiment analysis, and speech-to-text recognition for continuous assessment and feedback.

Benefits of technology

Enhances the speed and accuracy of response evaluation during simulations, increasing dialogue variability and providing real-time feedback, thus improving user interaction and communication skills through adaptive scenario changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure RU2023000098_03102024_PF_FP_ABST
    Figure RU2023000098_03102024_PF_FP_ABST
Patent Text Reader

Abstract

The invention relates to the field of computing. The claimed system comprises: an editor for creating simulations; a player for running simulations, which automatically runs a dialogue between a character and a user, created in the editor on the basis of selected simulation settings; a unit for collecting user data, which collects user data during a simulation; a unit for automatically processing the user data collected during a simulation, containing a module for recognizing the user's voice in a text, which is linked to a module for the semantic comparison of texts, to a module for the sentiment analysis of a text and to a stop word dictionary module. The technical result consists in increasing the speed and accuracy of evaluating a user's responses during a simulated conversation.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] INTERACTIVE SPEECH SIMULATION SYSTEM

[0002] AREA OF TECHNOLOGY

[0003] The invention relates to the field of natural language processing (NLP), in particular, to a system of interactive speech (communicative) simulations.

[0004] The present invention can be used at least for teaching communication and improving interpersonal skills of users, in the process of training personnel, in the field of education.

[0005] LEVEL OF TECHNOLOGY

[0006] Patent US10896678B2, published on 19.01.2021, discloses an oral communication device and a data processing platform that are designed to obtain oral conversation data from people and use machine learning to obtain intelligent data. This device is implemented as a chatbot, predicting actions and events, and automatically acting on this calculated information. At the same time, the chatbot provides audio data that reflects the information calculated by the data provision platform.

[0007] However, this patent lacks the ability for interactive interaction between the user and the system, automatic collection of user data for the purpose of forming variable interactive scenarios for the user based on his behavior and the system's feedback. In addition, this patent lacks an interactive dialogue simulator, which provides much greater functionality compared to a chatbot and allows for the implementation of communication simulations with full immersion of the user in the environment.

[0008] The technical task of the present invention is to create a system of interactive speech (communicative) simulations with the ability to continuously evaluate a person’s responses during the simulation and change the simulation scenario depending on the responses.

[0009] ESSENCE OF THE INVENTION

[0010] The technical result of the claimed invention is an increase in the speed and accuracy of the evaluation of user responses during the simulation due to the automatic processing of the user's speech, text entered by the user, using NLP methods, as well as ensuring automatic continuous evaluation of user responses during the simulation using NLP methods, which allows creating interactive speech (communicative) simulations, increases the variability of the dialogue between the user and the character during the simulation.

[0011] The specified technical result is achieved due to the fact that:

[0012] The interactive speech simulation system comprises: an editor for creating at least one simulation, wherein said editor is used to create at least one simulation representing a dialogue between a character and a user, create a dictionary of stop words, specify a list of possible user response options, specify settings for at least one simulation, add main scenarios, add additional scenarios, add trigger phrases of the main scenario, which activate the transition to the additional scenario; a playback player for at least one simulation, wherein said player is used to automatically reproduce the dialogue between the character and the user specified in the editor in accordance with the specified simulation settings, wherein dialogue scenarios are automatically selected during the simulation based on the simulation settings; a user data collection unit,wherein the user data collection unit is used to automatically collect user data during the simulation, wherein the user data includes user responses obtained during the simulation, wherein the user responses include audio data containing the user's speech and text data containing the text entered by the user; a unit for automatic continuous processing of user data collected during the simulation, comprising a user speech-to-text recognition module associated with the following modules: a semantic text comparison module, a sentimental text analysis module, a stop word dictionary module, wherein the user speech-to-text recognition module is used to pre-process the user's responses during the simulation for subsequent analysis of the pre-processed user responses using the semantic text comparison and sentimental text analysis modules,stop word dictionaries for continuous evaluation of responses during the simulation, for automatic modification of the main scenario depending on the user's response, for determining trigger phrases in the user's responses for automatic activation of the transition to additional scenarios, and for determining the final evaluation of the user's responses. In one embodiment of the system, the settings of one or more simulations are at least the following: selecting a character, adding a randomizer for the character's actions, selecting a teaching method, selecting a lesson language, selecting the strictness of speech recognition, setting up stop word dictionaries, setting up keywords, turning on / off video recording, displaying a report containing an evaluation of the user's responses, requesting user authorization, setting up a starting and ending message for the lesson, setting up a background image, setting up a multimedia demonstration.

[0013] In one embodiment of the system, the teaching method is at least three-level teaching, two-level teaching, one-level teaching, multiple choice answering, interview, quiz.

[0014] In one embodiment of the system, additional scenarios are additionally used with a character action randomizer and are activated by a character phrase.

[0015] In one embodiment of the system, it additionally contains a module for determining and highlighting keywords in the text, wherein said module is used to determine keywords in the text using a simulation editor and, during the simulation, to highlight keywords in the text, change the simulation scenarios if any of the keywords was specified as a trigger, and show the highlighted keywords to the user as a hint.

[0016] In one embodiment of the system, using a semantic text comparison module, the semantic similarity of the user's responses with pre-set possible response options is determined.

[0017] In one embodiment of the system, using a sentimental text analysis module, the sentimental mood of the user's response is identified and compared with the most probable given response option.

[0018] In one embodiment of the system, in accordance with a given dictionary of stop words.

[0019] In one embodiment of the system, the activation of the transition to additional scenarios during the simulation based on trigger phrases is carried out in the event that the user pronounces the trigger phrase in its entirety, the system interrupts the main scenario that the user has completed and transfers the user to the additional scenario, after the user has completed the additional scenario, the system returns the user back to the place where the user interrupted the main passage. In one embodiment of the system, the block for automatic continuous processing of user data collected during the simulation additionally contains a module for analyzing audio data containing the user's speech, wherein the user's speech characteristics are obtained with the help of said module for providing to the user at the end of the simulation, the user's speech characteristics are, at least, the speech rate, the intonation range.

[0020] DESCRIPTION OF DRAWINGS

[0021] The implementation of the invention will be described further in accordance with the accompanying drawings, which are presented to explain the essence of the invention and in no way limit the scope of the invention.

[0022] The claimed invention is illustrated by figures 1-8, which depict:

[0023] Fig. 1 - illustrates a variant of the editor's operation for creating simulations in the form of a block diagram.

[0024] Fig. 2 - illustrates a variant of the operation of the simulation playback player in the form of a block diagram.

[0025] Fig. 3 - illustrates a variant of the system operation in the form of a block diagram, starting from the user's request until he receives feedback.

[0026] Fig. 4 - illustrates an example of user interaction of the system at the simulation playback stage and the main internal processes during the simulation.

[0027] Fig. 5, 6, 7, 8 - illustrate examples of the editor interface for creating simulations.

[0028] DETAILED DESCRIPTION OF THE INVENTION

[0029] In the following detailed description of the embodiment of the invention, numerous implementation details are set forth in order to provide a clear understanding of the present invention. However, it will be obvious to one skilled in the art how the present invention may be used with or without these implementation details. In other instances, well-known methods, procedures, and components have not been described in detail in order not to unnecessarily obscure the features of the present invention.

[0030] In addition, it will be clear from the above description that the invention is not limited to the given implementation. Numerous possible modifications, changes, variations and replacements, preserving the essence and form of the present invention, will be obvious to specialists skilled in the subject area. The present invention is a system of interactive speech (communication) simulations, which allows for continuous evaluation of user responses during the simulation, analysis of user speech, text entered by the user using natural language processing (NLP) techniques, and also changing simulation scenarios depending on the user's responses. Users receive feedback in real time and can improve their behavior right at the moment of the dialogue.

[0031] The interactive speech simulation system comprises an editor for creating simulations, with the help of which a simulation is created that represents a dialogue between a character and a user, a dictionary of stop words is created, a list of possible user response options is specified, settings for at least one simulation are specified, main scenarios are added, additional scenarios are added, trigger phrases of the main scenario are added, according to which a transition to an additional scenario is activated; a playback player for at least one simulation, with the help of which the dialogue between the character and the user specified in the editor is automatically reproduced in accordance with the specified simulation settings, while automatically selecting dialogue scenarios during the simulation based on the simulation settings; a user data collection unit, with the help of which user data is automatically collected during the simulation, wherein the user data includes the user's responses,received during the simulation, wherein the user responses include audio data containing the user's speech and text data containing the text entered by the user; a unit for automatic continuous processing of user data collected during the simulation, comprising a user speech-to-text recognition module associated with the following modules: a semantic text comparison module, a sentimental text analysis module, a stop word dictionary module, wherein the user speech-to-text recognition module is used to pre-process the user's responses during the simulation for subsequent analysis of the pre-processed user responses using the semantic text comparison, sentimental text analysis, and stop word dictionary modules for the purpose of continuously evaluating the responses during the simulation for automatically changing the main scenario depending on the user's response,to define trigger phrases in user responses to automatically activate the transition to additional scenarios and to determine the final assessment of the user's responses. The editor for creating simulations allows you to apply settings to the simulation, for example: select a character; add a randomizer for character actions; select a teaching method (3 levels, 2 levels, 1 level, multiple choice, interview, quiz, etc.); select the lesson language; select the recognition severity; set up stop word dictionaries, the use of which will count as an error; set up the display of keywords; set up the use of keywords as triggers for changing the scenario; turn on / off video recording; show a detailed report after the lesson containing the assessment of the user's responses; request mandatory authorization to pass the simulation; set up the starting and ending messages of the lesson; set up the background image of the simulation,Setting up a multimedia demonstration. In the process of creating a lesson in the editor, such elements as, for example, a system phrase (voiceover), a character phrase, a random character phrase (choice of phrases), a user phrase that he must say on a prompt or independently, a choice of user phrases (choice of answer options for the user) are used. An audio file, picture or video can be added to the system and character phrases. Fig. 1 illustrates a variant of the script editor.

[0032] The simulation playback player is a subsystem for playing back the dialogue and playing back all the settings applied to the simulation. This consists of playing back the dialogue specified in the editor between the avatar (character) and the user, taking into account the data processing technology, the teaching method (using three, two or one step, interview or quiz), private settings such as background or multimedia demonstration, etc. During the dialogue playback, the player generates the speech of the avatar and the system in the form of spoken phrases, and also displays the recommended response for the user on the screen in the form of a fully displayed phrase, a partially displayed phrase or response options. Fig. 2 illustrates a variant of the simulation playback player operation.

[0033] Playback of the dialogue consists of playing back the avatar phrases and user responses recorded in the editor. The user's responses are recorded and recognized by the system, and then analyzed and compared with the expected response using the semantic meaning processing subsystem. Depending on the results of the analysis, the user receives feedback, and depending on the training method, he or she may be awarded points for completing the course, depending on whether the meanings of the spoken and expected phrases were similar. User data is collected automatically during the simulation by recording the user's responses for subsequent analysis. For example, a microphone is used to record the user's speech, and a text input / output interface is used to enter text, for example, one provided using a client application.

[0034] The automatic user data processing unit is a subsystem for processing semantic meanings. Using the audio data analysis module containing user speech, the user's speech characteristics are obtained. The user's speech characteristics are, at a minimum, the speech rate and intonation range. Using the semantic text comparison module, the semantic similarity of the user's answers with the preset answer options is determined. Using the sentimental text analysis module, the sentimental mood of the user's answer is identified and compared with the most probable specified answer option. Using the keyword definition and highlighting module in the text, the keywords in the user's answers are determined and highlighted. Using the stop word dictionary module, the presence of stop words in the user's answers is checked in accordance with the specified stop word dictionary.

[0035] The subsystem for processing semantic meanings is implemented, for example, as a set of DailoSpeech services for determining the user's intent based on the semantic (semantic) comparison of two texts, for analyzing the user's actions (responses) and reactions during the simulation for the purposes of subsequent evaluation. DailoSpeech is designed to analyze and control the subject's responses. The subsystem is implemented as a separate service. The system interface is presented as a REST API server. For the functioning of the plug-in service, the development environment python 3.10 and higher is required. The environment must have an interpreter of the mentioned language. For the service to work, a pre-installed object-relational database management system PostgreSQL is required. As well as a multimedia framework for processing audio data "FFmpeg". The plug-in module accepts data at the input of the subsystem in accordance with the method used in the form of a dictionary or list in the programming language python 3.After that, the python interpreter uses the requests library to contact the DailoSpeech system and get the corresponding response. The server communicates exclusively with the trusted server (back-end) via REST requests. It accepts data in accordance with the used http request as a json dictionary at the system input. At the output, it gives a response in the form of data in accordance with the used http request as a json dictionary. The service works with texts in Russian, English and French. The expected length for each text does not exceed 768 characters. The semantic similarity value is specified in the range of values ​​from 0 to 1 .

[0036] The Core API service core implements the main logic of the service, provides work with configuration files, mechanisms of network interaction and data exchange, transfer of information between subroutines and modules. And also work with the database for storing information about requests and query results in full, interaction with the module of user dictionaries of stop words with the database. The core includes the program interface (API). The interface with the help of http requests allows you to check the service performance, determine and highlight keywords in the text, recognize audio, analyze audio, determine semantic proximity, conduct sentimental analysis of the text, check the performance of the module for working with stop word dictionaries, create new stop word dictionaries, delete stop word dictionaries, update stop word dictionaries, receive stop word dictionaries, etc.

[0037] Fig. 3 illustrates a variant of the system operation in the form of a block diagram, starting from the user's request to receiving feedback, and includes variants of the editor and player operation.

[0038] The DailoSpeech semantic meaning processing subsystem includes the following modules: a semantic text comparison module (Textcomp), a sentimental analysis module (SentiText), a speech-to-text recognition module (SpeechRec), an audio analysis module (EmoSpeech), a module for identifying and highlighting keywords (KeyXtract), and a stop-word dictionary module (Stop-Words) (Fig. 2).

[0039] The semantic text comparison module (Textcomp) is the main function of the service. It is used to analyze the user's text, determine the semantic similarity of the text with pre-set options. The system receives pre-processed user text and known expected sentences as input. The system receives a latent representation of each sentence in the form of vectors optimized for the semantic proximity task. Then the user's text vector is ranked with the expected text vectors by cosine distance. The largest distance metric is selected, which corresponds to the semantically closest sentence, and is checked according to the condition of reaching a certain threshold. The presence or absence of common stop words is checked. If any, the user's metric is penalized. After that, the collected data is aggregated, the selected groups and the most likely choice are sent in response to the user in JSON format.The sentiment analysis module (SentiText) identifies the sentimental mood of the user's phrase and compares it with the target phrase. The target phrase is the most probable variant after processing by the semantic text comparison module by cosine proximity. The system receives a latent representation of the target and most probable texts in the form of vectors. The vectors pass through a pre-trained fully connected neural network of multi-passification to obtain one of three sentimental colors: negative, positive, and neutral. The mood of the target sentence is compared with the mood of the user's sentence. After that, the data is aggregated, the comparison result and the resulting sentiment class of the user's text are sent in response to the user in JSON format.

[0040] The Speech-to-text recognition module (SpeechRec) allows you to recognize text in audio in offline and online mode. It is used to pre-process the user's request for further analysis. It has offline and online audio recognition. The audio recognition method is pre-set in the request. After recognition, the text is post-processed. Depending on the language specified in the request, the text is normalized. For example, converting numbers to text form and transcribing Latin into Cyrillic for a given Russian language. The result of the module's work is normalized text for further processing by other modules.

[0041] The audio analysis module (EmoSpeech) analyzes an audio file to obtain audio characteristics. Provides an interface for obtaining speaker speech characteristics - intonation range and speech rate. Speech characteristics are used for feedback to the user at the end of the lesson. Class labels are set for this recording based on the data. After that, the data is aggregated and sent back to the user in JSON format.

[0042] The module for identifying and highlighting keywords in text (KeyXtract) is designed to identify and highlight keywords in a sentence. It is used to identify and highlight keywords in a sentence. This is an additional core method for individual queries for highlighting keywords. Such queries are required for two-level or three-level learning methods. In the user's phrases, you can highlight keywords that will be displayed in the second and third steps. Using a static algorithm, the system selects keywords in a sentence based on the percentage of keywords specified in the query and highlights all such words with fixed tags, for example <h>word< / h>. After which this processed sentence is sent back to the user in JSON format. Keywords are used as hints for the user. When evaluating responses, the correspondence to the entire phrase is assessed, keywords help the user to remember the phrase. Keywords are also used to change simulation scenarios if any of the keywords were set as a trigger in the simulation editor.

[0043] The Stop-Words Dictionary module is designed to work with user stop-word dictionaries. It uses a database to store dictionaries and access them. The service itself uses the module to check the text against a pre-defined stop-word dictionary. It has separate functions for saving, receiving, updating and deleting dictionaries from the database. It is included in the core as a number of the above-described methods for working with stop words via the REST API, and as part of the main pipeline for processing the main request.

[0044] The integrated solution is an editor for developing simulations, a player for playing training, and a service for determining the user's intent based on the semantic comparison of two texts (Dailospeech). The combination of the three components allows for interactivity in simulations, since Dailospeech analyzes and evaluates the user's speech, and the editor has a function for setting up scenarios and speech feedback for the system. As a result, due to the combination of semantic analysis services and the editor, it is possible to achieve high variability of the scenario, which changes based on the analysis of the user's speech, provides flexible feedback for the user, and offers various scenario options for completion depending on the user's behavior. Fig. 4 illustrates an example of user interaction with the system at the simulation playback stage and the main internal processes during the simulation.

[0045] Generation of interactive dialogue with the user is achieved using the following mechanics:

[0046] 1. Variability of user responses.

[0047] This is a combined system, namely, for its implementation the following subsystems are used: editor, player and Dailospeech.

[0048] Description at the user experience level: the feedback provided by the avatar or the system depends on how the user answers. Description at the scenario editor level: a list of possible user response options is specified. Description at the scenario playback player level: Dailospeech processes the user's audio using the SpeechRec, EmoSpeech, Textcomp, Stop-Words subsystems and the list of possible options using the Textcomp subsystem. The system recognizes the audio and compares the result with the possible options. If there is a significant match with one of the options, then it is counted by the system as an answer. If this option is marked as correct, then the score for passing is increased by 100% / "total number of questions". If incorrect, then it remains the same. If no match with the options is found, then the user is informed that he said the wrong phrase, the user tries again.This is not considered an error only if the lesson type is "test", in other cases an error in the completion of the scenario by the given user is counted, which will be reflected in the final grade.

[0049] 2. Randomizer of character actions.

[0050] This is a combined system, namely, for its implementation the following subsystems are used: editor and player.

[0051] Description at the user experience level: at a certain point, a randomizer is added to the scenario, after which the scenario can follow a certain number of development options. If the training method is 2- or 3-level, then subsequent levels use the phrase that was previously randomly selected at step 1. When the scenario is repeated, the previously used phrases will be excluded from the pool of possible ones. Thus, the system goes through all the character's action options for N playthroughs, where N is the number of character phrase options, until all possible options are exhausted. Then the process is restarted and all phrases will be available again during the playthrough. Such a system ensures the uniqueness of each playthrough up to N playthroughs, where N is the number of character phrase options. Description at the scenario editor level: additional character actions are added.For each action, a certain number of avatar phrases are set, and each of them has its own probability of occurrence in percent. Description at the scenario playback level: if there is variability in the character's phrases, the simulation playback player, using a random number generator, randomly selects the next character phrase based on the phrase probability preset in the scenario editor, the training method (1, 2 or 3 levels) and previously used options in the case of a repeat playthrough.

[0052] 3. Additional scenarios. a. Additional scenarios by trigger

[0053] This is a combined system, namely, the following subsystems are used for its implementation: editor, player and Dailospeech. Description at the user experience level: depending on the phrase said by the user, the scenario can follow one or another development of events. Description at the scenario editor level: additional scenarios and trigger phrases are added to the main scenario, which activate the transition to child scenarios. There can be several trigger phrases. The list of such phrases is unique for each of the child scenarios. Description at the scenario playback level: with each user input, the system transmits to Dailospeech a list of trigger phrases from the lesson, which are processed by the Textcomp subsystem. The system checks whether there is a match with any of the phrases. If there is a match, Dailospeech returns the ordinal number of the trigger phrase that was said and the scenario playback player initiates the transition to the additional scenario associated with this trigger phrase.

[0054] Ь. Additional scenarios based on the character's phrase

[0055] This is a combined system, namely, for its implementation the following subsystems are used: editor and player.

[0056] Description at the user experience level: you can assign an additional scenario to be activated by a character's phrase. This system function can be used with the "character action randomizer". This way, you can implement more lively lessons in which the character can behave differently and this will affect the content of the dialogue.

[0057] Description at the level of the scenario editor: additional scenarios and phrases of the main scenario character are added, which activate the transition to the child scenarios. There can be an unlimited number of character phrases and additional scenarios. The list of such character phrases is unique for each of the child scenarios. A detailed example describing the process and subtleties of adding and linking scenarios is in the section “Creating a Dialogue”.

[0058] Description at the scenario playback level: if there is variability in the character's phrases and additional scenarios assigned to these phrases, the simulation playback player, using a random number generator, randomly selects the next character phrase based on the phrase probability preset in the scenario editor, the training method (1, 2 or 3 levels) and previously used options in the case of a repeat playthrough. The transition to the additional scenario associated with the character's phrase is performed.

[0059] When combining the above options, you get more than 100 options for completing a lesson. To create a high-quality dialogue, the functions of the character, system and user responses have been developed

[0060] In the character settings, you can enter a phrase that will be pronounced by the character selected by the user in the lesson settings. In these settings, you can enter text for the character (Fig. 5), select the character's emotion and gesture. By default, the system automatically generates speech, but the user can add his own audio file with recorded speech.

[0061] A user can set up an action phrase that the user must pronounce by voice for further training / testing. During training, the user must pronounce the phrase. By default, the "expected response" is a phrase that is simultaneously displayed on the user's screen and that he must pronounce. However, it is possible to separate these two actions by clicking on the "change displayed text" inscription. For example, add "Greet the customer" to the "displayed text" and "Good afternoon! How can I help you?" to the "expected response" (Fig. 6).

[0062] You can also select the "free speech" field to give the user the opportunity to speak in a free form for a user-specified time. Speech recognition is not performed on this phrase and, accordingly, the lesson assessment does not depend on them. It is recommended not to forget to set the semantic load in the "free speech topic" block. For example, when you want the user to answer an open question.

[0063] The system can be configured with a system phrase that will be voiced over. This can be introductory information, a theoretical part of the training, or a hint for the user. For example, "be friendly and maintain eye contact with the client." By default, the system automatically generates speech, but the user can add their own audio file with recorded speech (Fig. 7). You can also add an image or video.

[0064] The choice of the user's phrases can be configured using a field for filling in several answer options, from which the user must select the correct one. When clicking on "add option", the required number of answer options appears. When clicking on "change answer option", the user will see an editing field in which they can select whether the option is correct, incorrect, or interrupts the lesson, and also enter the text of the answer option. If an incorrect answer option is selected, the user will return to the selection again until they select the correct one (true for all types except the assessed step in the "Multiple-choice test (2 steps)" type).

[0065] You can also add reactions (feedback, hint, or explanation) for the character or system to each answer option. This will improve the user experience. For example, "Wrong, try again."

[0066] Setting up a random character action allows you to add variability to the lesson. When this action is hit, one of the character's phrases from the list is randomly played for the user. The user can click the "add option" button as many times as there are action options for the character planned to be created. Each phrase can be set up in the same way as if it were a regular linear character action by clicking on the button with the character icon.

[0067] Each of the phrases can launch a transition to one of the additional lesson scenarios. The editor can also set the probability of a particular phrase appearing in percent. The sum of the chances of all phrases in action cannot exceed 100% and will be automatically recalculated if this rule is violated (Fig. 8). To set up a transition to a scenario and the chance of appearing, you need to click on the button with an arrow under the character's phrase.

[0068] The additional scenario is edited in the same way as the main one: add phrases of the character, user, system. In the right control panel, you can change the name of the additional scenario and add trigger phrases. Trigger phrases are words, phrases or sentences that, when pronounced, launch the desired scenario. To add new trigger phrases, enter them in the field and click the save button.

[0069] The rules by which trigger phrases work:

[0070] 1. The user pronounces the entire trigger phrase. If the user pronounces part of the trigger phrase, the system will not count it as a trigger phrase and will not transfer the user to an additional scenario.

[0071] 2. When the user says the trigger phrase, the system interrupts the scenario the user was going through and transfers the user to an additional scenario.

[0072] 3. After the user completes the additional scenario, the system will return the user back to the place where the user left off from the main scenario.

[0073] The user can create an unlimited number of additional scenarios. The system checks for trigger phrases in scenarios in order from left to right. For example, if the user added the trigger phrase "Tell me more" to additional scenario #1, and then to additional scenario #2, then when the trigger phrase is pronounced, the system will send the user to additional scenario #1, since it comes first.

[0074] Final assessment of the lesson

[0075] The lesson grade is a number showing the percentage of correct answers of the user for the entire lesson. It takes values ​​from 0% to 100%. The number is calculated and calculated using the simulation playback player for each individual session.

[0076] If the lesson is created with the quiz or interview teaching method, the assessment is always 100%, i.e. these methods are not assessed. If the lesson is created with the 1- or 2-level test teaching method, the final assessment is calculated as the ratio of the number of correct answers to the total number of questions in percent. If the lesson is created with the 2- or 3-level teaching method, the first answer at each step is counted. The answer is considered correct if it matches the expected text at the final level. The answer is considered incorrect in the following cases: when using a hint, if the step is skipped by the user, the phrase at the simulation step is not pronounced correctly on the first try. The final formula is the same: the ratio of the number of correct answers to the total number of questions in percent.

[0077] It should be obvious to a person skilled in the art that all operations for data processing according to the present invention can be implemented using at least one computing device. The computing device comprises at least one processor, memory and instructions stored in the memory and executed by the processor, with the help of which the data processing for interactive speech simulation is performed. The data processing can be centralized, for example, with the help of one computing device, or distributed, for example, with the help of several computing devices distributed over a network.

[0078] In general, a computing device that provides data processing necessary for implementing the claimed solution contains components such as: one or more processors, at least one memory, data storage means, input / output interfaces, I / O means, and network interaction means.

[0079] The device processor performs the basic computing operations required for the operation of the device or the functionality of one or more of its components. The processor executes the necessary machine-readable commands contained in the RAM. The memory is usually implemented as RAM and contains the necessary software logic that provides the required functionality. The data storage medium can be implemented as an HDD, SSD disks, RAID array, network storage, flash memory, optical storage devices (CD, DVD, MD, Blue-Ray disks), etc. The medium allows for long-term storage of various types of information. Interfaces are standard means for connecting and working with the server part, for example, USB, RS232, RJ45, LPT, COM, HDMI, PS / 2, Lightning, FireWire, etc.The choice of interfaces depends on the specific design of the device, which can be a personal computer, mainframe, server cluster, thin client, smartphone, laptop, etc. A keyboard is used as an I / O data means. In addition to the keyboard, the following can also be used as I / O data means: a joystick, display (touch display), projector, touchpad, mouse, trackball, light pen, speakers, microphone, etc. Network interaction means are selected from devices that provide network data reception and transmission, for example, an Ethernet card, WLAN / Wi-Fi module, Bluetooth module, BLE module, NFC module, IrDa, RFID module, GSM modem, etc. The means are used to organize data exchange via a wired or wireless data transmission channel, for example, WAN, PAN, LAN, Intranet, Internet, WLAN, WMAN or GSM, 3G, 4G, 5G, 6G, etc. The components of the computing device are connected via a common data transmission bus.

[0080] The present application materials present a preferred disclosure of the implementation of the claimed technical solution, which should not be used as limiting other, particular embodiments of its implementation that do not go beyond the scope of the requested scope of legal protection and are obvious to specialists in the relevant field of technology.

[0081] It should be clear to a person skilled in the art that various variations of the claimed method and system do not change the essence of the invention, but only determine its specific embodiments and applications.

Claims

CLAUSES OF THE INVENTION 1. A system of interactive speech simulations comprising: an editor for creating at least one simulation, wherein said editor is used to create at least one simulation representing a dialogue between a character and a user, to create a dictionary of stop words, to specify a list of possible user response options, to specify settings for at least one simulation, to add primary scenarios, to add additional scenarios, to add trigger phrases for the primary scenario that activate a transition to an additional scenario; a playback player for at least one simulation, wherein said player is used to automatically reproduce a dialogue between a character and a user specified in the editor in accordance with the specified simulation settings, and wherein dialogue scenarios are automatically selected during the simulation based on the simulation settings;a user data collection unit, wherein said user data collection unit is used to automatically collect user data during the simulation, wherein the user data includes user responses received during the simulation, wherein the user responses include audio data containing the user's speech and text data containing the text entered by the user;a block for automatic continuous processing of user data collected during the simulation process, comprising a user speech-to-text recognition module, linked to the following modules: a semantic text comparison module, a sentimental text analysis module, a stop-word dictionary module, wherein the user speech-to-text recognition module is used to pre-process the user's responses during the simulation process for subsequent analysis of the pre-processed user responses using modules for semantic text comparison, sentimental text analysis, and stop-word dictionaries for the purpose of continuously evaluating the responses during the simulation process for automatically changing the main scenario depending on the user's response, for determining trigger phrases in the user's responses for automatically activating the transition to additional scenarios, and for determining the final evaluation of the user's responses.

2. The system according to item 1, characterized in that the settings of one or more simulations are at least the following: character selection, adding a character action randomizer, selection of a training method, selection lesson language, selecting speech recognition strictness, setting up stop word dictionaries, setting up keywords, turning on / off video recording, displaying a report containing the user's response evaluation, requesting user authorization, setting up the opening and closing messages of the lesson, setting up a background image, setting up a multimedia display.

3. The system according to paragraph 2, characterized in that the teaching method is at least teaching using three levels, teaching using two levels, teaching using one level, choosing answer options, interview, quiz.

4. The system according to paragraph 2, characterized in that additional scenarios are additionally used with a character action randomizer and are activated by a character phrase.

5. The system according to paragraph 2, characterized in that it additionally contains a module for determining and highlighting keywords in the text, wherein with the help of said module, keywords in the text are determined using a simulation editor and during the simulation process, keywords in the text are highlighted, simulation scenarios are changed if any of the keywords were set as a trigger, and the highlighted keywords are shown to the user as a hint.

6. The system according to paragraph 1, characterized in that, using a module for semantic comparison of texts, the semantic similarity of the user’s responses with pre-set possible response options is determined for the purpose of continuously evaluating the responses to be able to change the scenario depending on the user’s response and determining the final assessment.

7. The system according to paragraph 1, characterized in that, using a sentimental text analysis module, the sentimental mood of the user’s response is identified and compared with the most probable given response option for the purpose of continuously evaluating the responses for the possibility of changing the scenario depending on the user’s response and determining the final assessment.

8. The system according to paragraph 1, characterized in that, using a stop word dictionary module, the presence of stop words is checked in the user’s responses in accordance with a specified stop word dictionary for the purpose of continuously evaluating the responses to be able to change the scenario depending on the user’s response and determine the final assessment.

9. The system according to item 1, characterized in that the activation of the transition to additional scenarios during the simulation process based on trigger phrases This occurs if the user pronounces the entire trigger phrase, the system interrupts the main scenario that the user was going through and transfers the user to an additional scenario; after the user completes the additional scenario, the system returns the user back to the point where the user interrupted the main scenario.

10. The system according to claim 1, characterized in that the unit for automatic continuous processing of user data collected during the simulation process additionally contains a module for analyzing audio data containing the user's speech, wherein with the help of said module the characteristics of the user's speech are obtained for provision to the user at the end of the simulation, the characteristics of the user's speech are, at least, the rate of speech and the range of intonation. 19

Citation Information

Patent Citations

  • Method and device for studying of foreign languages

    RU2718469C1

  • Method and apparatus of simulating and stimulating human speech and teaching humans how to talk

    US20050154594A1

  • Interactive Language Education System and Method

    US20100304342A1

  • Speech recognition based on pronunciation modeling

    US20120271635A1

  • Contextual sentiment text analysis

    US20150286627A1

Cited By

  • Method and device for generating question solving model for solving plane geometry question

    CN119252086A