Intelligent speech understanding system and interaction method with multiple speech understanding engines

Through the multi-speech understanding engine system, the combination of non-transcription and transcription engines is used to process different speech scenarios, solve the problems of speech recognition accuracy and model switching, and improve the accuracy and adaptability of speech understanding.

CN113936660BActive Publication Date: 2024-09-13SHUIMU THINK TANK (BEIJING) TECH CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202111201895.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-15
Publication Date
2024-09-13
Estimated Expiration
2041-10-15

AI Technical Summary

Technical Problem

Existing intelligent speech processing solutions rely on the accuracy of speech transcription and cannot effectively handle different pronunciation individualities and complex scenarios, resulting in low recognition accuracy and the inability to achieve unified and automatic switching of speech recognition models.

Method used

Adopting a multi-speech understanding engine system, including a first engine that processes speech in a non-transcriptional manner and a second engine that processes speech in a transliteration manner, the intent is obtained through a natural language understanding model based on speech data in the form of encoding sequences or text. And generate intelligent speech understanding results through the confidence determination unit.

Benefits of technology

It improves the accuracy and flexibility of speech understanding, reduces training data and labor costs, adapts to different speech interaction scenarios, and enhances the effectiveness of speech interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113936660B
    Figure CN113936660B
Patent Text Reader

Abstract

An intelligent speech understanding system and an intelligent speech interaction method with multiple speech understanding engines. The intelligent speech understanding system includes: a first speech understanding engine that processes speech in a non-transcription manner, a second speech understanding engine that processes speech in a transcription manner, and an understanding result determination unit, wherein the speech processing unit of the first speech understanding engine processes speech to obtain speech data in the form of a coding sequence, and the natural language understanding unit obtains the intention corresponding to the speech based on the speech data in the form of a coding sequence through a natural language understanding model; the speech processing unit of the second speech understanding engine transcribes speech to obtain speech data in the form of text, and the natural language understanding unit obtains the intention corresponding to the speech based on the speech data in the form of text through a natural language understanding model; and the understanding result determination unit determines the intention corresponding to the speech based on the understanding results of the two speech understanding engines.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to intelligent speech processing technology, and in particular to an intelligent speech understanding system with multiple speech understanding engines and an intelligent speech interaction method. Background Art

[0002] The current intelligent speech processing (NLP) solution is to achieve natural language understanding by performing semantic analysis on the text sequence obtained by speech recognition. Specifically, the speech is first transcribed into text, and then the text sequence is analyzed through keyword matching technology, or combined with context or knowledge graph, or with the help of deep learning technology to obtain the meaning (semantics) expressed by the speech. This solution is very dependent on the accuracy of speech transcription.

[0003] Speech transcription technology itself has great limitations. The recognition accuracy of speech recognition is affected by many factors, and it is impossible to establish a unified speech recognition model. For example, for the same characters, words, phrases and sentences, due to the influence of factors such as the speaker's pronunciation characteristics, speaking habits, speaking scenes, context, real-time emotions, etc., different people's voices vary in volume, pitch, tone, length, etc., and the distance between the speaker's vocal organ and the sound receiver (microphone), background noise, multiple people speaking at the same time (cocktail party problem), voice transmission channel bandwidth (such as telephone voice) and other external factors will also increase the complexity and difficulty of speech recognition. In particular, when the speaker's pronunciation of certain words or words is similar to or the same as the standard pronunciation of other words or words, recognition deviation or recognition error is prone to occur.

[0004] For Chinese, the existence of a large number of polyphones makes it more difficult to achieve recognition rates. Although current speech recognition technology can train specific speech recognition models for specific dialects, specific accents, and even specific people, it is impossible to unify and automatically switch these models, and therefore cannot fundamentally solve the problem of inaccurate recognition caused by different pronunciations.

[0005] Current speech processing solutions only include a speech understanding engine, using a transcription unit / transcription model. This is because, for this solution, the accuracy of transcription determines the accuracy of semantic understanding, and the result of transcription is unique, so only one transcription model with higher transcription accuracy can be selected, such as a transcription model optimized in a certain vertical field, or a transcription model optimized for a certain dialect or accent. However, for voice interaction scenarios where accents or dialects cannot be predicted, it is impossible to select or automatically switch to a better transcription model in advance, so when the transcription accuracy is reduced due to the transcription model, the speech understanding effect is also unsatisfactory. In addition, the optimization of the transcription model also requires very high training data costs and labor costs. Summary of the invention

[0006] According to one aspect of the present invention, there is provided an intelligent speech understanding system, comprising: a first speech understanding engine that processes speech in a non-transcription manner, a second speech understanding engine that processes speech in a transcription manner, and an understanding result determination unit, wherein the first speech understanding engine comprises a speech processing unit and a natural language understanding unit, the speech processing unit of the first speech understanding engine processes speech to obtain speech data in a coded sequence form, the natural language understanding unit of the first speech understanding engine obtains an intention corresponding to the speech based on the speech data in the coded sequence form through a natural language understanding model, the second speech understanding engine comprises a speech processing unit and a natural language understanding unit, the speech processing unit of the second speech understanding engine transcribes speech to obtain speech data in a text form, the natural language understanding unit of the second speech understanding engine obtains the intention corresponding to the speech based on the speech data in the text form through a natural language understanding model, and the understanding result determination unit determines the intention corresponding to the speech based on the understanding results of the first speech understanding engine and the understanding results of the second speech understanding engine.

[0007] According to the intelligent speech understanding system of the embodiment of the present invention, optionally, the understanding result of the first speech understanding engine includes the confidence level corresponding to the speech and a certain pragmatic information classification node, and the understanding result of the second speech understanding engine includes the confidence level corresponding to the same speech and a certain pragmatic information classification node. The understanding result determination unit obtains the speech understanding result of the intelligent speech understanding system based on the set threshold value of the first speech understanding engine for the pragmatic information classification node and the set threshold value of the second speech understanding engine for the pragmatic information classification node.

[0008] According to the intelligent speech understanding system of the embodiment of the present invention, optionally, the confidence is the probability that the speech corresponds to the pragmatic information classification node of the speech interaction layer.

[0009] According to the intelligent speech understanding system of the embodiment of the present invention, optionally, the first speech understanding engine and the second speech understanding engine perform speech understanding based on the same hierarchically arranged pragmatic information classification nodes.

[0010] According to the intelligent speech understanding system of the embodiment of the present invention, optionally, the natural language understanding unit of the first speech understanding engine generates a speech understanding model using speech data in the form of a coded sequence and paired data of pragmatic information classification nodes, and the natural language understanding unit of the second speech understanding engine generates a speech understanding model using speech data in the form of a text and paired data of pragmatic information classification nodes, and the natural language understanding unit of the first speech understanding engine and the natural language understanding unit of the second speech understanding engine respectively select pragmatic information classification nodes of a certain layer of the current speech interaction to train the speech understanding model, or select pragmatic information classification nodes of multiple layers of the current voice interaction to train the speech understanding model, or select all pragmatic information classification nodes of the current voice interaction to train the speech understanding model.

[0011] According to the intelligent speech understanding system of the embodiment of the present invention, optionally, the natural language understanding unit of the first speech understanding engine selects speech data in the form of speech or coding sequence corresponding to the pragmatic information classification node collected at a certain layer of the current speech interaction to train the speech understanding model, or selects speech data in the form of speech or coding sequence corresponding to the pragmatic information classification node collected at multiple layers or all layers of the current speech interaction to train the speech understanding model, or selects training data of the same pragmatic information classification node of other speech interactions other than the current speech interaction to train the speech understanding model of the current speech interaction;

[0012] The natural language understanding unit of the second speech understanding engine selects speech data in text form corresponding to pragmatic information classification nodes collected at a certain layer of the current speech interaction to train the speech understanding model, or selects speech data in text form corresponding to pragmatic information classification nodes collected at multiple layers or all layers of the current voice interaction to train the speech understanding model, or selects training data of the same pragmatic information classification nodes of other voice interactions other than the current voice interaction to train the speech understanding model of the current voice interaction.

[0013] According to the intelligent speech understanding system of the embodiment of the present invention, optionally, the understanding result determination unit obtains the speech understanding result of the intelligent speech understanding system by weighting the understanding result of the first speech understanding engine and the understanding result of the second speech understanding engine.

[0014] According to the intelligent speech understanding system of the embodiment of the present invention, optionally, the understanding result determination unit obtains the speech understanding result of the intelligent speech understanding system by weighting the understanding result of the first speech understanding engine and the understanding result of the second speech understanding engine according to the speech length.

[0015] According to the intelligent speech understanding system of the embodiment of the present invention, optionally, the intelligent speech understanding system includes an understanding result synchronization unit, so that the understanding result determination unit determines the speech understanding result of the intelligent speech understanding system according to the speech understanding results of multiple speech understanding engines for the same speech.

[0016] According to the intelligent speech understanding system of the embodiment of the present invention, optionally, the intelligent speech understanding system records the speech data in text form corresponding to the pragmatic information classification node obtained by transcribing the second speech understanding engine as entity word information.

[0017] According to another aspect of the present invention, there is provided an intelligent voice interaction method, which includes: receiving voice; a first voice understanding engine processes the voice to obtain voice data in the form of a coding sequence, and understands the voice data in the form of the coding sequence through a natural language understanding model; a second voice understanding engine transcribes the voice to obtain voice data in the form of text, and understands the voice data in the form of text through a natural language understanding model; judging the intention corresponding to the voice based on the understanding results of the first voice understanding engine and the understanding results of the second voice understanding engine; and making a response corresponding to the intention. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings of the embodiments will be briefly introduced below. Obviously, the drawings in the following description only relate to some embodiments of the present invention, but are not intended to limit the present invention.

[0019] Figure 1 An example of an intelligent speech understanding system having multiple speech understanding engines according to an embodiment of the present invention is shown;

[0020] Figure 2 An example of a method for generating a natural language understanding model of an intelligent speech understanding system according to an embodiment of the present invention is shown;

[0021] Figure 3 An example of an intelligent speech interaction method of an intelligent speech understanding system according to an embodiment of the present invention is shown;

[0022] Figure 4 An example of a preset pragmatic information classification node is shown. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution of the embodiment of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all of the embodiments. Based on the described embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] Unless otherwise defined, the technical or scientific terms used herein shall have the common meanings understood by persons with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the patent application specification and claims of the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, words such as "one" or "a" do not indicate a quantity limitation, but indicate the existence of at least one.

[0025] According to an embodiment of the present invention, an intelligent speech understanding system with multiple speech understanding engines includes at least one speech understanding engine that processes speech in a non-transcription manner. The intelligent speech understanding system determines the speech understanding results for speech interaction based on the understanding results of each speech understanding engine.

[0026] Figure 1 An example of an intelligent speech understanding system with multiple speech understanding engines according to an embodiment of the present invention is shown. Figure 1 As shown, the first speech understanding engine includes a speech processing unit 101 and a natural language understanding unit 102; the second speech understanding engine includes a speech processing unit 104 and a natural language understanding unit 105. The first speech understanding engine including the speech processing unit 101 and the natural language understanding unit 102 is a speech understanding engine that processes speech in a non-transcription manner.

[0027] The speech processing unit 101 processes the speech to obtain speech data in the form of a coding sequence. These speech can be stored speech or real-time speech in speech interaction, or training speech from a training corpus database.

[0028] Optionally, the speech is processed by audio sampling. For example, for telephone speech, an audio sampling format of 8000Hz, 16bit and mono is used to obtain audio sampling data. The sampling rate of 8kHz for telephone speech is due to the limitation of 4kHz bandwidth of telephone channel, and the limitation of 4kHz bandwidth of telephone channel is to save bandwidth resources, and only retain the sound in the narrow range of 300-3400Hz in the speech spectrum to identify the speech signal. Under the conditions of 4G and even 5G mobile communication networks, the narrowband transmission limitation of 4kHz has gradually withdrawn from the stage of history, considering that the frequency range of sound that can be heard by the human ear is (16-20000Hz). Therefore, a higher sampling rate, such as 16kHz, 48kHz, can be considered to increase the fidelity of audio (speech) sampling and reduce the loss of voice information caused by sampling. Audio sampling parameters may include sampling rate, bit rate, single / dual channel (usually mono), and sampling duration. The sampling duration can be set according to the specific interaction scenario and network resource conditions, for example, 8 seconds, 10 seconds, 15 seconds, 20 seconds, etc. Optionally, after the audio sampling, the audio sampling signal is processed using the Voice Activity Detection (VAD) technology to detect the silent part in the noisy environment, thereby identifying and cutting the speech part to obtain valid audio sampling data.

[0029] The audio sample data is then encoded, for example, using phonemes as encoding units, so that a phoneme sequence can be obtained from the audio sample data using an acoustic model. For example, the English International Phonetic Alphabet has a total of 48 phonemes, including 20 vowel phonemes and 28 consonant phonemes; and Modern Chinese Pinyin (the Latinization scheme for Chinese phonetic notation, ISO7098) has 32 phonemes. It is also possible to combine the language model and use phonemes and combinations of phonemes as encoding units. For example, a syllable sequence is used as the result of the encoding process; it is also possible to use a method suitable for certain language characteristics, such as Chinese initials and finals, to perform encoding. Furthermore, a mixed encoding method is used according to different language characteristics. For example, the encoding rules include both English syllables and Chinese initials and finals, so that the encoding of multi-language mixed speech can be achieved. For example, for the language expression "I live in a motel in the suburbs to save money" - if only the Chinese initials and finals are used to encode, it can be encoded as "w-ei-le-sh-eng-qi-an-wo-zh-uz-ai-ji-ao-qudem-ou-t-ai-lli", where the English word "motel" is similar to the Chinese pinyin "m-ou-t-ai-l". Here you can see the difference between the Chinese and English syllables; if the Chinese initials and finals are mixed with English syllables, it can be encoded as "w-ei-le-sh-eng-qi-an-wo-zh-uz-ai-ji-ao-qude- -tel-li", which can be closer to the real speech and the loss of speech information is also smaller. Chinese also has syllables, and Chinese characters are all monosyllabic. However, if Chinese syllables are used to encode Chinese and English syllables are used to encode English, due to the difference in syllables of the two languages ​​(Chinese has about 410 syllables; while English has two to three thousand syllables) and the difference in language models, it will cause a large deviation in the encoding results. For example, in the above example, if Chinese syllables are used to encode Chinese and English syllables are used to encode English, if there is a deviation in syllable recognition, it may be encoded as "wei-le-sheng-qian-wo-zhu-zai-jiao-qu-de-mou-tai-li", which is different from the mixed encoding method "w-ei-le-sh-eng-qi-an-wo-zh-uz-ai-ji-ao-qude- -tel-li", which is even more different from the actual speech. This differentiated mixed encoding can reduce the error rate of syllable recognition. Furthermore, other encoding dimensions can be added according to the characteristics of different languages. For example, Chinese can add tones and use the combination of syllables and tones for encoding. Mandarin Chinese has only about 410 syllables, of which there are actually only more than 160 syllables with four meaningful tones, and other syllables can often only be combined with some tones. Therefore, except for some syllables dedicated to classical Chinese and dialects, there are about 1,250 combinations of tones and syllables for Mandarin. English has no tones, but stress can be added as an encoding dimension.

[0030] The above processing of speech obtains speech data in the form of a coding sequence. The coding code element here can be a phoneme, a syllable, or a combination of a phoneme and a syllable. In other words, the coding sequence can include a plurality of coding code elements, and these code elements can be phonemes, syllables, or a combination of phonemes and syllables. Moreover, these phonemes or syllables can also include phonemes or syllables of different languages, or can be customized phoneme-level or syllable-level code elements independent of a specific language.

[0031] The natural language understanding unit 102 obtains the semantics corresponding to the speech through a natural language understanding model.

[0032] According to the speech understanding engine of the embodiment of the present invention that processes speech in a non-transcription manner, a natural language understanding model can be generated based on pragmatic information and intelligent speech interaction can be realized.

[0033] According to information science or general information theory, any information can be divided into three levels: grammatical information, semantic information and pragmatic information. Grammar, semantics and pragmatics are terms borrowed from semiotics. Grammar refers to the relationship between symbols and symbols, which is the rules of written language, oral language, computer coding language or behavioral language; semantics refers to the relationship between symbols and entities, which is the content and meaning expressed by symbols; pragmatics refers to the relationship between symbols and users, which refers to the effectiveness of the content and meaning expressed by symbols to users. Grammatical information is also called technical information. It studies the formal relationship between symbols and symbols, their encoding, transmission, repetition and reproduction, etc., without considering the actual meaning and effectiveness of these symbols. Grammatical information has an objective nature and is the most basic level of information. Semantic information is the opposite of grammatical information. It indicates the content and meaning of information as well as its logical authenticity, accuracy and reliability. People understand the factual materials (grammatical information) they come into contact with, connect it with the entity it represents, analyze and compare it to form a certain concept, which is semantic information. It is a statement or representation of the state of motion of things, and its purpose is to ensure that the receiver gets the actual content of the information. Pragmatic information refers to the utility of information to the receiver, that is, the practicality and value of the information.

[0034] In short, grammatical information is the structure of the symbols output by the source or the expression of their objective characteristics, which has nothing to do with the subjective requirements of the destination; semantic information considers the meaning of the symbol (set); pragmatic information is information that is useful to the destination. Grammatical information, semantic information, and pragmatic information are interrelated. The same meaning can be expressed in different languages ​​or texts, and the grammatical information contained in various expressions can be different; the meaning contained in an expression is often only partially useful to the destination or the receiver of the information. Therefore, in general, the information rate of semantic information can be lower than that of grammatical information, and the information rate of pragmatic information is lower than that of semantic information.

[0035] Narrow information theory uses mathematical statistics to study information processing and information transmission. It studies the common laws of information transmission that exist in communication and control systems, as well as how to improve the effectiveness and reliability of various information transmission systems. The aforementioned speech recognition technology is based on narrow information theory. First, it attempts to restore the symbols (text) output by the source from the received speech. This is based on the grammatical information level, and then performs semantic analysis to obtain semantic information. As mentioned above, differences in the source (speaker) and channel (sound transmission path, medium) conditions will cause uncertainty in speech recognition results, thereby affecting the accuracy of semantic understanding.

[0036] According to Shannon's information theory, information is an increase in certainty. In other words, the amount of information does not depend on the length of the information, but on how much uncertainty is reduced. Therefore, it can be seen that the above speech recognition process increases uncertainty, thereby reducing the amount of information and even losing the information originally transmitted by the source.

[0037] In order to solve the above problems, the present invention combines the above narrow information theory and general information theory to propose a new speech processing method based on pragmatic information.

[0038] First, let's examine the relationship between speech, text, and information. Speech was created before text and is an earlier information carrier. Because of the technical conditions in ancient times, it was impossible to achieve long-distance transmission and storage of speech, so text was invented. As an information carrier, text can be transmitted and stored over long distances compared to speech. Furthermore, coding (writing, composing) can make the channel bandwidth required for text-based information transmission smaller, that is, the amount of information that can be carried by a unit of text can be increased through coding, and information can be encrypted through coding. As a result, text has become the most important information carrier for recording civilization. Based on the path dependence on the information carried by text, the current natural speech processing technology adopts a technical path of first recognizing text from speech and then analyzing the information carried by the text.

[0039] However, under modern technical conditions, voice can be transmitted and stored over long distances, and with the development of communication technology and network technology, bandwidth and cost are no longer bottlenecks for voice transmission, and people can interact with each other with clearer voice. Under such conditions, when the information sent by the source is carried by voice, it is not necessary to recognize text from voice, but to directly obtain information by analyzing the received voice at the destination (receiving end).

[0040] Further, let's analyze from the perspective of information quantity. As mentioned above, the amount of information does not depend on the length of the information, but on how much uncertainty is reduced. For the destination, the amount of information depends on pragmatic information rather than semantic information. For a simple example, the voice or text sent by the source is "yes", and the semantics is "affirmation", but if the destination wants to know "what day of the week is today", then the semantic information cannot reduce the uncertainty about "what day of the week is today", so the amount of information is zero. If the destination knows that the voice or text "yes" sent by the source is the answer to "Is today Tuesday?", then the pragmatic information contained in the information is "affirmation that today is Tuesday", which reduces the uncertainty about "what day of the week is today" (considering that the information sent by the source may not be true, it cannot completely eliminate the uncertainty about "what day of the week is today"). For another example, the voice or text sent by the source is "my brother is getting married next month", and the pragmatic information obtained by the destination is that the source has no intention to repay the debt immediately. For the "whether you are willing to repay the debt immediately" that the destination cares about, this expression sent by the source is informative. It can be seen from this that pragmatic information may not be included in semantic information or the receiver may need to derive it from semantic information based on his own subjective judgment; and the pragmatic information and amount of information obtained by the receiver may be different for different receivers of the same information or for the same receiver in different contexts. From the perspective of the purpose of information interaction, the more pragmatic information and amount of information the receiver obtains, the more effective the information interaction is.

[0041] Based on the above analysis of information, information carriers (voice, text) and information volume, the present invention proposes an intelligent speech processing method based on pragmatic information, including a natural language understanding model generation / training method and an intelligent speech interaction method.

[0042] Figure 2 An example of a method for generating a natural language understanding model according to an embodiment of the present invention is shown. Figure 2 As shown, in step S201, a pragmatic information classification node is preset. Figure 4 An example of a preset pragmatic information classification node is shown. Figure 4In the illustrated example, a multi-layer voice interaction structure is used, specifically including layer A, layer B and layer C. In the layer A structure, five preset pragmatic information classification nodes A01, A02, A03, A04 and A05 are included, corresponding to five types of pragmatic information respectively. The pragmatic information classification is set by the receiver based on the interaction needs. For example, Figure 4 In the A-layer interaction, identity confirmation can include five pragmatic information classifications: A01—I am the person, A02—repeated inquiry, A03—Not the person, A04—Complaint tendency, and A05—Inconvenience. In other words, the receiver needs to know which of the five pragmatic information classifications the information carried by the voice from the source belongs to. According to different information interaction requirements, the preset pragmatic information classification nodes can include single-layer or multi-layer classifications, and pragmatic information classification nodes are set at each layer. Among them, the same pragmatic information classification nodes can be set at different layers.

[0043] In step S202, the speech is processed to obtain speech data in the form of a coding sequence. Step S202 may be performed by the speech processing unit 101. The speech processing unit 101 processes the speech using the above method to obtain speech data in the form of a coding sequence.

[0044] For the natural language understanding model generation method, there is no special requirement for the order of step S201 and step S202. Step S201 can come first or step S202 can come first.

[0045] In step S203, the speech data in the form of a coding sequence is associated with a pragmatic information classification node. The purpose of associating the speech data in the form of a coding sequence and the pragmatic information classification node is to form a training corpus pair for training a natural language understanding model, that is, a data pair of the speech data in the form of a coding sequence and the pragmatic information classification node. When training the natural language understanding model, these data pairs of speech data in the form of a coding sequence and the pragmatic information classification node are used as input data for model training. Because the speech data in the form of a coding sequence may not be readable for humans, if the speech data in the form of a coding sequence is manually associated with the pragmatic information classification node, then a feasible method is for a person to listen to the speech before encoding, understand the pragmatic information contained in the speech, and associate the speech with the corresponding pragmatic information classification node, that is, manually annotate, so as to obtain paired data of the speech data in the form of a coding sequence and the pragmatic information classification node.

[0046] In step S204, a natural language understanding model is generated by training the speech data in the form of coding sequences and the paired data of pragmatic information classification nodes. The generation of the natural language understanding model can be performed by the natural language understanding unit 102. The number of paired data used for natural language understanding model training can be a small number of one or several pieces, or a large amount of data. The amount of information in the paired data for training depends on the difference of the speech data in the form of coding sequences, that is, the difference between the various coding sequences obtained by the speech processing unit 101 processing different speech corresponding to the same pragmatic information classification node. Generally, the more speech data in the form of differentiated coding sequences, the better the training effect of the natural language understanding model, and the higher the accuracy of understanding the speech. In other words, the more actual speech situations the training corpus includes, the more speech the natural language understanding model can understand.

[0047] It should be noted that, because the natural language understanding unit 102 assumes that the paired data used for training is correct when the natural language understanding model is being used, if the coding sequences obtained after encoding of the two speech data are the same or similar but the corresponding pragmatic information classification nodes are different, the effect of model training will be affected. The possible reason for this situation is that the association between the speech data and the pragmatic information classification node is incorrect. From the perspective of manual annotation, it is to "tell" the robot that the speech is wrongly understood or intended; it may also be because the two speech data are very close in themselves, but correspond to different understandings, which may occur between different dialects. The impact on the model training effect, specifically, when recognizing similar speech, will reduce the recognition accuracy of the speech for the relevant pragmatic information classification node and reduce the confidence value. For example, for two similar speech, they are respectively labeled as A01-I am myself and A03-not myself, among which the label A03-not myself is wrong, and the natural language understanding model is trained. Then, when the robot receives similar or similar speech for understanding, it may be uncertain about the understanding result, which is specifically manifested as low confidence in the understanding result, for example, less than 80%. When training a natural language understanding model, a large amount of paired data with similar speech and correct annotations can be added for training to reduce the impact of individual incorrectly annotated training data on the model. Generally speaking, the similarity between speech decreases as the length of speech increases, so the above annotation errors have a greater impact on the understanding of short speech than long speech.

[0048] The goal of speech understanding is to automatically determine the pragmatic information classification node corresponding to a speech. For example, in an intelligent voice interaction scenario based on a call center, when the robot asks the user whether he is the owner of the phone number being called (corresponding to Figure 4The called user may have multiple ways of answering, and his speech is understood as the intention corresponding to one of the pragmatic information classification nodes in A01 to A05. When the natural language understanding model is used for understanding, the natural language understanding model calculates the confidence of the understood speech about each pragmatic information classification node, and then determines the understanding result based on these confidence values. According to the use of this natural language understanding model, pragmatic information classification nodes and corresponding training data can be selected when training the natural language understanding model. Among them, you can select the pragmatic information classification nodes of a certain layer of the current voice interaction to train the natural language understanding model, you can also select multiple layers of pragmatic information classification nodes of the current voice interaction to train the natural language understanding model, you can also select all pragmatic information classification nodes of the current voice interaction to train the natural language understanding model; you can select the speech data in the form of speech or coding sequence corresponding to the pragmatic information classification node collected at a certain layer of the current voice interaction to train the natural language understanding model, you can also select multiple layers or all layers of the current voice interaction and the pragmatic information classification node The training data in the form of speech or coding sequence corresponding to the pragmatic information classification node is selected to train the natural language understanding model, and you can also select the training data of the same pragmatic information classification node of other voice interactions other than the current voice interaction to train the natural language understanding model of the current voice interaction.

[0049] The algorithm for generating the natural language understanding model can be a statistical-based algorithm, a deep learning / deep neural network algorithm, or a combination of the two algorithms. Among them, the algorithm based on deep learning / deep neural network can be one or a combination of Word2vec, RNN, Transformer, and BERT.

[0050] A second speech understanding engine can also be used Figure 2 The natural language understanding model is trained by the method. Among them, if the speech understanding engine is a transcription-based engine, the speech processing unit 104 transcribes the speech to generate a coding sequence with characters, words, punctuation marks, and spaces as coding units as speech data in text form. When associating the speech data in text form with pragmatic information classification nodes, manual annotation can be performed by looking at the text. It should be noted that because the text of the speech transcription may not be accurate, the speech data in text form that cannot correspond to the pragmatic information classification node is not used as training data for the training of the natural language understanding model.

[0051] The first speech understanding engine and the second speech understanding engine may be independently configured engines, or may be configured in a system to work independently, or may work in collaboration with each other.

[0052] According to an embodiment of the present invention, the natural language understanding unit 102 and the natural language understanding unit 105 may adopt the same or similar natural language understanding model and the above-mentioned natural language understanding model generation / training method.

[0053] Figure 3 An example of an intelligent voice interaction method according to an embodiment of the present invention is shown. Figure 3 As shown, in step S301, a voice is received. The voice can be a question voice or an answer voice. For example, in response to a user's question, the intelligent voice interaction system (intelligent voice interaction robot) receives the voice from the user and then automatically responds based on the result of understanding the user's voice; or the intelligent voice interaction robot asks a question, the user answers, and the robot then automatically responds based on the result of understanding the user's voice. This question-answering process can be repeated in multiple rounds. The user's voice is usually a sound made directly or indirectly by a natural person, and may even be a voice generated by a voice assistant / voice robot.

[0054] In step S302, the user's voice is processed to obtain voice data in the form of a coding sequence. The method in step S201 can be used to perform audio sampling and coding on the user's voice.

[0055] Step S303 and step S304, use the natural language understanding model to process the speech data in the form of the coding sequence to obtain pragmatic information of the speech corresponding to the speech data in the form of the coding sequence.

[0056] According to the speech understanding of the embodiment of the present invention, specifically, for a speech, automatically determine the pragmatic information classification node corresponding to it. For example, in an intelligent voice interaction scenario based on a call center, when the robot asks the user whether he is the owner of the called mobile phone number (corresponding to Figure 4 The called user may have multiple ways of answering, and his voice is understood as the intention corresponding to one of the pragmatic information classification nodes in A01~A05.

[0057] The basis of speech understanding according to the embodiment of the present invention is to preset pragmatic analysis classification nodes as in the aforementioned step S201, and to generate and train a natural language understanding model using paired data of speech data in the form of coded sequences and pragmatic information classification nodes as in the aforementioned step S204. In other words, speech understanding based on pragmatic information requires to preset pragmatic analysis classification nodes and generate a corresponding natural language understanding model.

[0058] Specifically, when the natural language understanding model is used for understanding, the natural language understanding model calculates the confidence of the understood speech with respect to each pragmatic information classification node (step S303), and then determines the understanding result according to these confidence values ​​(step S304). The confidence here can be understood as the probability that the speech corresponds to a certain pragmatic information classification node. Because one or more pragmatic information classification nodes are preset in a certain layer of interaction, the natural language understanding model calculates the probability that the user speech obtained in the layer of interaction corresponds to each pragmatic information classification node of the layer of interaction, and for a user speech, the sum of the probabilities corresponding to each pragmatic information classification node of the layer is 100% (normalized to 100 or 1.0). For example, after calculation by the natural language understanding model, the confidence of A01 is 80, the confidence of A02 is 0, the confidence of A03 is 20, and the confidence of A04 and A05 is 0.

[0059] There are many ways to determine the understanding results based on these confidence values. For a single working speech understanding engine, the pragmatic information classification node with the highest confidence value can be used as the speech understanding result; the pragmatic information classification node with a confidence value exceeding a preset threshold can also be used as the speech understanding result. As in the above example, the confidence of A01 is 80, the confidence of A02 is 0, the confidence of A03 is 20, and the confidence of A04 and A05 is 0. If the pragmatic information classification node with the highest confidence value is used as the speech understanding result, then A01 can be determined as the speech understanding result. If the confidence threshold is set to 90, it is impossible to determine which pragmatic information classification node is the speech understanding result. In this case, further processing can be performed: for example, the user is requested to make a speech expression again, and then the new user speech is understood. If the user expresses again more than the set number of times (for example, twice) and still cannot reach the confidence threshold, the interaction is terminated or the pragmatic information classification node with the highest confidence value corresponding to the user's last expression is used as the speech understanding result, and it can also be transferred to manual processing; the user can also be requested to confirm that the pragmatic information classification node with the highest confidence value corresponding to the expression is the speech understanding result; or it can be directly transferred to manual processing.

[0060] Multiple thresholds may also be set, such as a first threshold of 80 and a second threshold of 60. If the confidence of the understood speech about a pragmatic information classification node of the current interaction layer is higher than 80, the pragmatic information classification node is used as the understanding result; if the confidence of the understood speech about a pragmatic information classification node of the current interaction layer is between 60 and 80, the user is requested to confirm whether the expression corresponds to the pragmatic information classification node with the highest confidence value. If the user confirms, the pragmatic information classification node is used as the speech understanding result. If the user does not confirm, the user is requested to make a speech expression again, and then the new user speech is understood; if the confidence of the understood speech about a pragmatic information classification node of the current interaction layer is lower than 60, the user is requested to make a speech expression again, and then the new user speech is understood. If the user expresses again more than a set number of times (for example, twice) and still cannot reach 80, the interaction is terminated or the pragmatic information classification node with the highest confidence value corresponding to the user's last expression is used as the speech understanding result or transferred to manual processing.

[0061] The confidence threshold can be set based on many factors, such as the amount of training data of the natural language understanding model, the confidence distribution of the test / production data, the hierarchical structure of the voice interaction, and the requirements of the voice interaction scenario. For example, if the amount of training data is small, the confidence mean of the test / production data is low, and the interaction level flow requirements are high, a lower confidence threshold can be set. In addition, one or more confidence thresholds can be set uniformly in multiple layers of a voice interaction, or a confidence threshold can be set for a single layer, or a confidence threshold can be set for a single pragmatic information classification node. The setting of the confidence threshold may change the specific voice interaction process, and therefore make the voice interaction smoother and obtain a better user experience.

[0062] When multiple speech understanding engines are working at the same time, it is necessary to refer to the confidence calculated by each speech understanding engine to determine which pragmatic information classification node of the current interaction layer the understood speech corresponds to. The understanding result determination unit 103 determines which pragmatic information classification node of the current interaction layer the understood speech corresponds to based on the confidence calculated by each speech understanding engine.

[0063] According to an embodiment of the present invention, in the case where two speech understanding engines work simultaneously, for example Figure 1The first speech understanding engine and the second speech understanding engine shown work simultaneously. The same speech to be understood is input into the speech processing unit 101 and the speech processing unit 102, and the speech processing unit 101 and the speech processing unit 102 respectively generate speech data in different coding sequence forms. For example, the coding code element of the coding sequence generated by the speech processing unit 101 is a phoneme or a syllable or a combination of a phoneme and a syllable, and the coding code element of the coding sequence generated by the speech processing unit 102 is a text, that is, the speech processing unit 102 transcribes the speech into text, which can be composed of characters or words, can include spaces and / or punctuation, and can also be processed using a word segmentation model and a grammar model.

[0064] The natural language understanding unit 102 and the natural language understanding unit 105 use their own natural language understanding models to calculate the speech data in the form of coding sequences generated by the speech processing unit 101 and the speech processing unit 102, respectively, and obtain the confidence level corresponding to a certain pragmatic information classification node of the speech to be understood. According to the speech understanding engine of an embodiment of the present invention, in the process of calculating the confidence level corresponding to a certain pragmatic information classification node of the speech to be understood using the natural language understanding model, the text corresponding to the speech obtained by the speech-to-text transcription tool is understood as a whole as a coding sequence, without analyzing the semantics of the text through keywords, grammar libraries, knowledge bases, etc.

[0065] The natural language understanding unit 102 and the natural language understanding unit 105 may each have a different method for generating a natural language understanding model. For example, the natural language understanding unit 102 selects a pragmatic information classification node of a certain layer of the current voice interaction to train the natural language understanding model, and the natural language understanding unit 105 selects all pragmatic information classification nodes of the current voice interaction to train the natural language understanding model. Optionally, when performing voice understanding, the hierarchical structure of the current voice interaction and the preset pragmatic information classification nodes, that is, the hierarchically set pragmatic information classification nodes, are the same for the two voice understanding engines. For example, the first voice understanding engine and the second voice understanding engine both use Figure 4 The speech interaction hierarchical structure and pragmatic information classification node settings shown. In this way, when determining which pragmatic information classification node of the current interaction layer the speech corresponds to, the understanding results of the two speech understanding engines can verify each other. Different speech understanding engines can also adopt different speech interaction structures and pragmatic information classification node sets. For example, one speech understanding engine adopts a hierarchical pragmatic information classification node structure, and calculates the corresponding confidence for one layer of pragmatic information classification nodes each time; another speech understanding engine adopts a single-layer pragmatic information classification node structure (not hierarchical), and calculates the corresponding confidence for all pragmatic information nodes or part of pragmatic information nodes each time.

[0066] Specifically, if two speech understanding engines obtain the same result, then the understanding result determination unit uses this understanding result as the speech understanding result; if neither of the two speech understanding engines obtains an understanding result (for example, because the confidence levels calculated by the two speech understanding engines respectively do not reach the confidence level threshold for determining the understanding result), the user is prompted to re-enter the speech, and then the new speech is understood; if only one of the two speech understanding engines obtains an understanding result, then this understanding result is used as the speech understanding result; if both of the two speech understanding engines obtain understanding results respectively, but the obtained understanding results are different, then additional conditions need to be added for judgment.

[0067] For the case where both of the two speech understanding engines obtain understanding results respectively, but the obtained understanding results are different, it is necessary to combine the confidence levels corresponding to the speech and the pragmatic information classification node calculated by each of the two speech understanding engines respectively, and the confidence level thresholds used by each speech understanding engine to judge the understanding result here to judge the understanding result of the multi-engine. For example, if the difference between the confidence level thresholds set by the two speech understanding engines here for judging the understanding result is greater than a certain set value (for example: 20), such as the confidence level thresholds are 80 and 40 respectively, then the understanding result of the speech understanding engine with the higher confidence level threshold is used as the understanding result of the multi-engine. If the difference between the confidence level thresholds set by the two speech understanding engines here for judging the understanding result is less than a certain set value (for example: 20), such as the confidence level thresholds are 80 and 70 respectively, then the user is prompted to re-enter the speech, and then the new speech is understood.

[0068] There is a situation where the user speech to be understood is very short, only one or two syllables in length. This situation is relatively common in Chinese (because Chinese characters are monosyllabic words). If a certain speech understanding engine processes the speech in a transcribing manner and obtains an understanding result exceeding the confidence level threshold, and another speech understanding engine that does not process the speech in a transcribing manner also obtains an understanding result exceeding the confidence level threshold and this understanding result is different from the understanding result of the speech understanding engine that processes the speech in a transcribing manner, then the understanding result of the speech understanding engine that processes the speech in a transcribing manner is used as the understanding result of the multi-engine, and the user does not need to be prompted to re-enter the speech and then understand the new speech. This is because for a speech with a length of only one or two syllables, transcribing the speech into one or two characters results in a more certain and higher convergence result compared to a longer coding sequence (such as a coding sequence at the phoneme level). And for the case of transcribing errors, such as transcribing "可以" as "阔以", for example Figure 4For the pragmatic information classification node B01 "clarify the needs", it may not happen that the aforementioned speech understanding engine processes speech by transcription and obtains an understanding result exceeding the confidence threshold, while another speech understanding engine that does not process speech by transcription also obtains an understanding result exceeding the confidence threshold and the understanding result is different from the understanding result of the speech understanding engine that processes speech by transcription because the confidence threshold is not reached. This does not mean that the speech understanding engine that processes speech by transcription is better than the speech understanding engine that does not process speech by transcription, but it is explaining a special case in which the speech understanding engine that processes speech by transcription is a supplement to the speech understanding engine that does not process speech by transcription. The logic behind this is that due to the interference of noise or background sound, incomplete user speech segmentation, incomplete or unclear speech caused by network transmission, incorrect training corpus, etc., the speech understanding engine may not understand correctly (obtaining an understanding result that reaches the confidence threshold but the result itself is incorrect). In this case, multiple speech understanding engines that use different speech processing and / or encoding methods can realize mutual verification and error correction of understanding results, thereby improving the understanding accuracy of the entire system. Of course, there may be a situation where each engine outputs an incorrect understanding result. Optionally, the speech understanding results of each speech understanding engine are weighted, and the speech understanding results of each speech understanding engine can also be weighted according to the speech length. The speech length can be measured by the length of phonemes, syllables, characters, etc.

[0069] If multiple speech understanding engines work at the same time, it is possible that the processing time of different speech understanding engines is inconsistent. In this case, it is necessary to set an understanding result synchronization unit to ensure that the understanding result determination unit 103 determines the speech understanding result for the same user speech. The understanding result synchronization unit can be set before the result determination unit 103, or the result determination unit 103 can realize the function of understanding result synchronization.

[0070] Multiple speech understanding engines can also work in a complementary manner. If one speech understanding engine cannot obtain a speech understanding result, another speech understanding engine will perform speech understanding.

[0071] The speech understanding engine that processes speech in a non-transcription manner and the speech understanding engine that processes speech in a transcription manner work together, and can mutually verify the speech understanding results as described above, or divide the work based on their respective characteristics. For example, the speech understanding engine that processes speech in a non-transcription manner is responsible for obtaining the intention corresponding to the pragmatic information classification node, while the speech understanding engine that processes speech in a transcription manner is responsible for obtaining the speech transcription text corresponding to the pragmatic information classification node. For example, a speech interaction layer includes three pragmatic information classification nodes "name", "don't want to say", and "didn't hear clearly". If the speech understanding engine that processes speech in a non-transcription manner understands the user's speech as "name", the speech understanding engine that processes speech in a transcription manner transcribes the user's speech to obtain the transcribed text corresponding to the pragmatic information classification node "name", such as "Zhang Ming". The system records the transcribed text ("Zhang Ming") as name information; if the speech understanding engine that processes speech in a non-transcription manner understands the user's speech as "don't want to say" or "didn't hear clearly" (not "name"), the speech understanding engine that processes speech in a transcription manner does not need to transcribe the user's speech, and the system does not need to record the transcribed text as name information. According to the above scheme, both the speech understanding engine that processes speech in a non-transcription manner and the speech understanding engine that processes speech in a transcription manner understand the speech to obtain pragmatic information classification nodes, and then determine the understanding results through the understanding result judgment unit to obtain the pragmatic information classification nodes corresponding to the speech, and then determine whether to record the transcribed text of the speech as text information corresponding to the pragmatic information classification nodes based on the understanding results.

[0072] According to an embodiment of the present invention, the aforementioned intelligent speech understanding system may include more than two speech understanding engines, each of which may verify each other's speech understanding results, or may cooperate in a division of labor, and the speech understanding engine that processes speech by transcribing obtains text information corresponding to the speech through transcribing, and uses this transcribing text information as entity word information corresponding to the intent. The entity word information may be the aforementioned name, or may be an address, date, ID number, telephone number, etc.

[0073] The pragmatic information classification node corresponding to the user's speech, ie, the speech understanding result, is determined, and in step S305, a response corresponding to the pragmatic information classification node is made.

[0074] The response corresponding to the pragmatic information classification node can be made or completed at the current interaction layer; for a multi-layer voice interaction structure, it can flow to the next layer.

[0075] When the interaction flows to a certain voice interaction layer, the user's voice is understood at that interaction layer, the pragmatic information classification node corresponding to the user's voice is determined, and a response corresponding to the pragmatic information classification node is made. These responses can be robot voice broadcasts (broadcast recordings or synthesized voices) to induce the user to speak again; or the robot voice broadcast ends the current voice interaction. For example, Figure 4 In the example shown, if the speech understanding result obtained at layer A is A02, a jump is made within layer A to repeat the speech of the robot at layer A or the words corresponding to A02, and then speech understanding is still performed at layer A based on the user voice input again; if the speech understanding result obtained at layer A is A03, a "hang up" process is performed, such as hanging up the phone, sending a text message, etc. after broadcasting the voice that ends the voice interaction; and so on.

[0076] The multi-layer voice interaction structure is used for multi-round voice interaction, such as Figure 4 As shown in Figure 1. The arrows indicate the flow between layers. For example, Figure 4 In the interactive structure shown, if the speech understanding result obtained in layer A is A01, the robot voice broadcast (broadcast recording or synthesized speech) corresponding to layer A01 is performed, and the speech interaction flows to layer B, where speech understanding is performed again to confirm which pragmatic information classification node of layer B corresponds to the user voice that answers the robot voice broadcast; if the speech understanding result obtained in layer B is B02, B03, B04, B05 or A02, the robot voice corresponding to these pragmatic information classification nodes of layer B is broadcast, and the speech interaction flows to layer C, where speech understanding is performed again to confirm which pragmatic information classification node of layer C corresponds to the user answer voice. The multi-layer speech interaction structure corresponds to the hierarchical pragmatic information node setting. Compared with the non-hierarchical pragmatic information node setting method, the hierarchical pragmatic information node setting method reduces the number of pragmatic information nodes in each layer, which can improve the understanding accuracy.

[0077] It can be noted that different responses can be given to the same pragmatic information classification node at different layers. For example, the response of AP02 at layer A is to jump inside layer A, while the response of A02 at layer B is to broadcast the robot voice corresponding to A02 at layer B, and then flow to layer C after receiving a new user voice in response to the robot voice. In this way, pragmatic information classification nodes can be shared by multiple layers on the one hand, and responses can be flexibly configured according to the specific needs of voice interaction on the other hand.

[0078] The user voice generated in the voice interaction can be used as training data for the natural language understanding model after being associated with the language information classification node.

[0079] In a multi-layer voice interaction structure, each layer can use the same pragmatic information classification node; multiple different voice interaction structures can also use the same pragmatic information classification node. In this way, user voice data collected under different voice interaction services corresponding to different voice interaction structures can be associated with the same pragmatic information classification node, thereby serving as training data for the natural language understanding model.

[0080] According to the embodiment of the present invention, the intelligent speech understanding system with multiple speech understanding engines, including a speech understanding engine that processes speech by transcription and a speech understanding engine that processes speech by non-transcription, can realize the coordination and division of labor of multiple speech understanding engines, and synchronously or step-by-step mutual verification of understanding results, so as to obtain both the intention corresponding to the speech and the text (literal) information corresponding to the speech. According to the hierarchical structure of the pragmatic information classification nodes of speech interaction, the training corpus and the natural language understanding model are collected, which greatly reduces the amount of data required for training the natural language understanding model and quickly improves the accuracy of speech understanding; through simple association operations, the speech data obtained in the speech interaction is used for the rapid iteration of the natural language understanding model, which greatly reduces the cost of optimizing the natural language understanding model. The speech understanding engine that processes speech by non-transcription directly understands pragmatic information from speech, avoiding the information loss caused by transcribing speech into text; because it is not restricted by text, a set of speech interaction structures and corresponding models can support multiple language environments such as different dialects, small languages, and mixed languages.

[0081] The above description is merely an exemplary embodiment of the present invention and is not intended to limit the protection scope of the present invention. The protection scope of the present invention is determined by the appended claims.

Claims

1. An intelligent speech understanding system, comprising: The first speech understanding engine that processes speech without transcription. A second speech understanding engine that processes speech using transcription. and an understanding result determination unit (103), in, The first speech understanding engine comprises a speech processing unit (101) and a natural language understanding unit (102), wherein the speech processing unit (101) of the first speech understanding engine processes speech to obtain speech data in a coded sequence form, and the natural language understanding unit (102) of the first speech understanding engine obtains an intention corresponding to the speech based on the speech data in the coded sequence form through a natural language understanding model, The second speech understanding engine comprises a speech processing unit (104) and a natural language understanding unit (105). The speech processing unit (104) of the second speech understanding engine transcribes the speech to obtain speech data in text form. The natural language understanding unit (105) of the second speech understanding engine obtains the intention corresponding to the speech based on the speech data in text form through a natural language understanding model. The understanding result determination unit (103) determines the intention corresponding to the speech based on the understanding result of the first speech understanding engine and the understanding result of the second speech understanding engine.

2. The intelligent speech understanding system according to claim 1, wherein: The understanding result of the first speech understanding engine includes the confidence level of the speech corresponding to a certain pragmatic information classification node, and the understanding result of the second speech understanding engine includes the confidence level of the same speech corresponding to a certain pragmatic information classification node. The understanding result determination unit (103) obtains the speech understanding result of the intelligent speech understanding system according to the set threshold value of the first speech understanding engine for pragmatic information classification nodes and the set threshold value of the second speech understanding engine for pragmatic information classification nodes.

3. The intelligent speech understanding system according to claim 2, wherein: The confidence is the probability that the speech corresponds to the pragmatic information classification node of the speech interaction layer.

4. The intelligent speech understanding system according to claim 1, wherein: The first speech understanding engine and the second speech understanding engine perform speech understanding based on the same hierarchically arranged pragmatic information classification nodes.

5. The intelligent speech understanding system according to claim 1, wherein: The natural language understanding unit (102) of the first speech understanding engine generates a speech understanding model using the speech data in the form of the coded sequence and the paired data of the pragmatic information classification nodes, and the natural language understanding unit (105) of the second speech understanding engine generates a speech understanding model using the speech data in the form of the text and the paired data of the pragmatic information classification nodes, and the natural language understanding unit (102) of the first speech understanding engine and the natural language understanding unit (105) of the second speech understanding engine respectively select pragmatic information classification nodes of a certain layer of the current speech interaction to train the speech understanding model, or select pragmatic information classification nodes of multiple layers of the current speech interaction to train the speech understanding model, or select all pragmatic information classification nodes of the current speech interaction to train the speech understanding model.

6. The intelligent speech understanding system according to claim 1, wherein: The natural language understanding unit (102) of the first speech understanding engine selects speech data in the form of speech or coding sequence corresponding to pragmatic information classification nodes collected at a certain layer of the current speech interaction to train the speech understanding model, or selects speech data in the form of speech or coding sequence corresponding to pragmatic information classification nodes collected at multiple layers or all layers of the current speech interaction to train the speech understanding model, or selects training data of the same pragmatic information classification node of other speech interactions other than the current speech interaction to train the speech understanding model of the current speech interaction; The natural language understanding unit (105) of the second speech understanding engine selects speech data in text form corresponding to pragmatic information classification nodes collected at a certain layer of the current speech interaction to train the speech understanding model, or selects speech data in text form corresponding to pragmatic information classification nodes collected at multiple layers or all layers of the current speech interaction to train the speech understanding model, or selects training data of the same pragmatic information classification nodes of other speech interactions other than the current speech interaction to train the speech understanding model of the current speech interaction.

7. The intelligent speech understanding system according to claim 1, wherein: The understanding result determination unit (103) obtains the speech understanding result of the intelligent speech understanding system by weighting the understanding result of the first speech understanding engine and the understanding result of the second speech understanding engine.

8. The intelligent speech understanding system according to claim 1, wherein: The understanding result determination unit (103) obtains the speech understanding result of the intelligent speech understanding system by weighting the understanding result of the first speech understanding engine and the understanding result of the second speech understanding engine according to the speech length.

9. The intelligent speech understanding system according to claim 1, wherein: The intelligent speech understanding system comprises an understanding result synchronization unit, so that the understanding result determination unit (103) determines the speech understanding result of the intelligent speech understanding system according to the speech understanding results of multiple speech understanding engines for the same speech.

10. The intelligent speech understanding system according to claim 1, wherein: The intelligent speech understanding system records the speech data in text form corresponding to the pragmatic information classification node obtained by transcribing the second speech understanding engine as entity word information.

11. An intelligent voice interaction method, in, include: Receive voice; The first speech understanding engine processes the speech to obtain speech data in the form of a coding sequence, and understands the speech data in the form of the coding sequence through a natural language understanding model; The second speech understanding engine transcribes the speech to obtain speech data in text form, and understands the speech data in text form through a natural language understanding model; Determining the intention corresponding to the speech according to the understanding result of the first speech understanding engine and the understanding result of the second speech understanding engine; Make a response corresponding to the stated intent.

Citation Information

Patent Citations

  • Off-line navigation customization and implementation method and device

    CN109671421A

  • Speech intention recognition method and device combining text, speech and emotion characteristics

    CN110188361A

  • Voice processing method and device, electronic equipment and storage medium

    CN112201249A

  • Intelligent customer service intention understanding method based on text and voice information fusion

    CN112287675A

  • Voice understanding method, device, equipment and medium

    CN112767928A