[go: up one dir, main page]

CN114550710A - Recognition method, device, storage medium and electronic device for user's dialog intention - Google Patents

Recognition method, device, storage medium and electronic device for user's dialog intention Download PDF

Info

Publication number
CN114550710A
CN114550710A CN202210163464.9A CN202210163464A CN114550710A CN 114550710 A CN114550710 A CN 114550710A CN 202210163464 A CN202210163464 A CN 202210163464A CN 114550710 A CN114550710 A CN 114550710A
Authority
CN
China
Prior art keywords
intent
intention
coefficient
dialogue
sentence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210163464.9A
Other languages
Chinese (zh)
Inventor
马浩
刘丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jingdong Technology Holding Co Ltd
Original Assignee
Jingdong Technology Holding Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jingdong Technology Holding Co Ltd filed Critical Jingdong Technology Holding Co Ltd
Priority to CN202210163464.9A priority Critical patent/CN114550710A/en
Publication of CN114550710A publication Critical patent/CN114550710A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/08Speech classification or search
    • G10L15/18Speech classification or search using natural language modelling
    • G10L15/1822Parsing for meaning understanding
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • G06F40/35Discourse or dialogue representation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/044Recurrent networks, e.g. Hopfield networks
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/08Speech classification or search
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/27Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the analysis technique

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Artificial Intelligence (AREA)
  • Acoustics & Sound (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Biophysics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Molecular Biology (AREA)
  • Evolutionary Computation (AREA)
  • Data Mining & Analysis (AREA)
  • Biomedical Technology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Signal Processing (AREA)
  • Machine Translation (AREA)

Abstract

本发明公开了用户对话意图的识别方法、装置、存储介质和电子设备,通过获得针对本轮对话中当前句子的句子意图识别结果,其中,所述句子意图识别结果包括:分类名称和分类得分;根据所述分类名称,确定相应的意图状态系数;根据所述分类得分和所述意图状态系数确定相应的置信度;根据所述置信度和预设的意图确定规则,确定所述本轮对话的当前句子对应的对话意图,其中,所述预设的意图确定规则中涉及的参数包括:所述本轮对话的历史句子对应的历史对话意图。本发明可以结合前文的对话意图,准确识别每一句话的对话意图,进一步提高应答的流畅度,提升用户体验。

Figure 202210163464

The invention discloses a method, a device, a storage medium and an electronic device for recognizing a user's dialogue intention. By obtaining a sentence intention recognition result for the current sentence in the current round of dialogue, the sentence intention recognition result includes: a classification name and a classification score; Determine the corresponding intention state coefficient according to the classification name; determine the corresponding confidence level according to the classification score and the intention state coefficient; The dialogue intention corresponding to the current sentence, wherein the parameters involved in the preset intention determination rule include: the historical dialogue intention corresponding to the historical sentence of the current round of dialogue. The present invention can accurately identify the dialogue intention of each sentence in combination with the foregoing dialogue intention, further improve the fluency of the response, and improve the user experience.

Figure 202210163464

Description

用户对话意图的识别方法、装置、存储介质和电子设备Recognition method, device, storage medium and electronic device for user's dialog intention

技术领域technical field

本发明涉及语义识别领域,特别涉及一种用户对话意图的识别方法、装置、存储介质和电子设备。The present invention relates to the field of semantic recognition, and in particular, to a method, device, storage medium and electronic device for recognizing a user's dialog intention.

背景技术Background technique

智能应答系统,核心功能点就是识别用户意图、基于用户意图应答。目前智能应答系统主要是通过自然语言识别模块识别单句的对话意图,即只将当句用户输入过模型分类。The core function of the intelligent response system is to identify the user's intention and respond based on the user's intention. At present, the intelligent response system mainly recognizes the dialogue intention of a single sentence through the natural language recognition module, that is, only the user input of the sentence is classified into the model.

而具体业务需要先将用户信息收集填槽后才能应答,填槽过程中系统会反问用户,用户再次输入的句子会再次经过自然语言识别模块进行识别,此时可能识别不到对话意图或对话意图识别错误的问题、进一步导致应答不流畅、用户体验较差等问题。The specific business needs to collect user information and fill in the slot before answering. During the filling process, the system will ask the user, and the sentence input by the user will be recognized by the natural language recognition module again. At this time, the dialogue intention or dialogue intention may not be recognized. Identify the wrong problem, which further leads to problems such as poor response and poor user experience.

发明内容SUMMARY OF THE INVENTION

鉴于上述问题,本发明提供一种克服上述问题或者至少部分地解决上述问题的一种用户对话意图的识别方法、装置、存储介质和电子设备。In view of the above-mentioned problems, the present invention provides a method, apparatus, storage medium and electronic device for identifying a user's dialog intention to overcome the above-mentioned problems or at least partially solve the above-mentioned problems.

第一方面,一种用户对话意图的识别方法,包括:A first aspect provides a method for identifying a user's dialog intention, comprising:

获得针对本轮对话中当前句子的句子意图识别结果,其中,所述句子意图识别结果包括:分类名称和分类得分;Obtain the sentence intent recognition result for the current sentence in this round of dialogue, wherein the sentence intent recognition result includes: classification name and classification score;

根据所述分类名称,确定相应的意图状态系数;According to the classification name, determine the corresponding intention state coefficient;

根据所述分类得分和所述意图状态系数确定相应的置信度;Determine a corresponding confidence level according to the classification score and the intention state coefficient;

根据所述置信度和预设的意图确定规则,确定所述本轮对话的当前句子对应的对话意图,其中,所述预设的意图确定规则中涉及的参数包括:所述本轮对话的历史句子对应的历史对话意图。Determine the dialogue intention corresponding to the current sentence of the current round of dialogue according to the confidence level and the preset intention determination rule, wherein the parameters involved in the preset intention determination rule include: the history of the current round of dialogue The historical dialogue intent corresponding to the sentence.

结合第一方面,在某些可选的实施方式中,所述根据所述分类名称,确定相应的意图状态系数,包括:With reference to the first aspect, in some optional implementation manners, the determining the corresponding intention state coefficient according to the classification name includes:

根据所述分类名称,通过预设的意图状态确定规则,确定相应的所述意图状态系数,其中,所述意图状态系数与所述分类名称相匹配。According to the classification name, the corresponding intention state coefficient is determined through a preset intention state determination rule, wherein the intention state coefficient matches the classification name.

结合上一个实施方式,在某些可选的实施方式中,所述根据所述分类名称,通过预设的意图状态确定规则,确定相应的所述意图状态系数,包括:With reference to the previous implementation, in some optional implementations, according to the classification name, the corresponding intention state coefficient is determined through a preset intention state determination rule, including:

若所述分类名称与所述意图状态确定规则中的新增意图相匹配,则确定所述意图状态确定规则中的新增系数作为所述意图状态系数,其中,所述新增系数与所述新增意图对应,所述新增意图表征所述当前句子涉及的意图在本轮通话的历史对话中从未出现过;If the category name matches the newly added intent in the intent state determination rule, determine the newly added coefficient in the intent state determination rule as the intent state coefficient, wherein the newly added coefficient is the same as the Corresponding to the newly added intent, the newly added intent indicates that the intent involved in the current sentence has never appeared in the historical dialogue of the current round of calls;

若所述分类名称与所述意图状态确定规则中的独占意图相匹配,则确定所述意图状态确定规则中的独占系数作为所述意图状态系数,其中,所述独占系数与所述独占意图对应,所述独占意图表征所述当前句子涉及的意图的置信度高于一定阈值;If the category name matches an exclusive intent in the intent state determination rule, determine an exclusive coefficient in the intent state determination rule as the intent state coefficient, where the exclusive coefficient corresponds to the exclusive intent , the confidence of the exclusive intent representing the intent involved in the current sentence is higher than a certain threshold;

若所述分类名称与所述意图状态确定规则中的修改意图相匹配,则确定所述意图状态确定规则中的修改系数作为所述意图状态系数,其中,所述修改系数与所述修改意图对应,所述修改意图表征所述当前句子涉及的意图的置信度高于一定阈值且与本轮通话的历史对话涉及的各意图没有关系;If the category name matches the modification intent in the intent state determination rule, determine a modification coefficient in the intent state determination rule as the intent state coefficient, where the modification coefficient corresponds to the modification intent , the modification intent represents that the confidence level of the intent involved in the current sentence is higher than a certain threshold and has no relationship with each intent involved in the historical dialogue of the current round of calls;

若所述分类名称与所述意图状态确定规则中的并存意图相匹配,则确定所述意图状态确定规则中的并存系数作为所述意图状态系数,其中,所述并存系数与所述并存意图对应,所述并存意图表征所述当前句子涉及的意图与本轮通话的历史对话的至少一个意图具有强相关性;If the category name matches the coexistence intent in the intent state determination rule, determine the coexistence coefficient in the intent state determination rule as the intent state coefficient, wherein the coexistence coefficient corresponds to the coexistence intent , the concurrent intent indicates that the intent involved in the current sentence has a strong correlation with at least one intent of the historical dialogue of the current round of conversation;

若所述分类名称与所述意图状态确定规则中的无效意图相匹配,则确定所述意图状态确定规则中的无效系数作为所述意图状态系数,其中,所述无效系数与所述无效意图对应,所述无效意图表征所述当前句子涉及的意图具有明确的意图切换。If the category name matches an invalid intent in the intent state determination rule, determine an invalid coefficient in the intent state determination rule as the intent state coefficient, wherein the invalid coefficient corresponds to the invalid intent , the invalid intent signifies that the intent involved in the current sentence has an explicit intent switch.

结合第一方面,在某些可选的实施方式中,所述根据所述分类得分和所述意图状态系数确定相应的置信度,包括:With reference to the first aspect, in some optional implementation manners, the determining a corresponding confidence level according to the classification score and the intention state coefficient includes:

根据公式1:C=log(scorei×Z)×ratioi,计算得到所述置信度,其中,所述C为所述置信度,所述i为句子标号,所述scorei为所述分类得分,所述Z为预设的缩放因子,所述ratioi为所述意图状态系数。According to formula 1: C=log(score i ×Z)×ratio i , the confidence level is calculated, wherein the C is the confidence level, the i is the sentence label, and the score i is the classification score, the Z is a preset scaling factor, and the ratio i is the intent state coefficient.

结合第一方面,在某些可选的实施方式中,所述根据所述置信度和预设的意图确定规则,确定所述本轮对话的当前句子对应的对话意图,包括:With reference to the first aspect, in some optional implementation manners, determining the dialogue intention corresponding to the current sentence of the current round of dialogue according to the confidence level and a preset intention determination rule, including:

比较所述置信度与第一预设阈值之间的大小,以及比较所述置信度与第二预设阈值之间的大小,其中,所述第一预设阈值大于所述第二预设阈值;comparing the magnitude between the confidence level and a first preset threshold, and comparing the magnitude between the confidence level and a second preset threshold, wherein the first preset threshold is greater than the second preset threshold ;

若所述置信度不小于所述第一预设阈值,则根据预设的第一意图确定规则,确定所述对话意图;If the confidence level is not less than the first preset threshold, determining the dialog intent according to a preset first intent determination rule;

若所述置信度小于所述第一预设阈值且大于所述第二预设阈值,则根据预设的第二意图确定规则,确定所述用户对话意图;If the confidence level is less than the first preset threshold and greater than the second preset threshold, determining the user dialog intent according to a preset second intent determination rule;

若所述置信度不大于所述第二预设阈值,则根据预设的第三意图确定规则,确定所述用户对话意图。If the confidence level is not greater than the second preset threshold, the user's dialog intent is determined according to a preset third intent determination rule.

结合第一方面,在某些可选的实施方式中,所述方法还包括:In conjunction with the first aspect, in some optional embodiments, the method further includes:

根据所述本轮对话的当前句子对应的对话意图,更新所述本轮对话的历史句子对应的历史对话意图。According to the dialogue intention corresponding to the current sentence of the current round of dialogue, the historical dialogue intention corresponding to the historical sentence of the current round of dialogue is updated.

第二方面,一种用户对话意图的识别装置,包括:意图状态管理模块和置信度计算模块;In a second aspect, a device for identifying a user's dialog intention, comprising: an intention state management module and a confidence level calculation module;

所述意图状态管理模块包括:接收单元、系数确定单元和意图确定单元;The intention state management module includes: a receiving unit, a coefficient determination unit, and an intention determination unit;

所述接收单元,被配置为执行获得针对本轮对话中当前句子的句子意图识别结果,其中,所述句子意图识别结果包括:分类名称和分类得分;The receiving unit is configured to execute and obtain a sentence intent recognition result for the current sentence in the current round of dialogue, wherein the sentence intent recognition result includes: a classification name and a classification score;

所述系数确定单元,被配置为执行根据所述分类名称,确定相应的意图状态系数;The coefficient determination unit is configured to determine the corresponding intention state coefficient according to the classification name;

所述置信度计算模块,被配置为执行根据所述分类得分和所述意图状态系数确定相应的置信度;The confidence calculation module is configured to perform determining a corresponding confidence according to the classification score and the intention state coefficient;

所述意图确定单元,被配置为执行根据所述置信度和预设的意图确定规则,确定所述本轮对话的当前句子对应的对话意图,其中,所述预设的意图确定规则中涉及的参数包括:所述本轮对话的历史句子对应的历史对话意图。The intention determination unit is configured to execute according to the confidence and a preset intention determination rule to determine the dialogue intention corresponding to the current sentence of the current round of dialogue, wherein the preset intention determination rule involves The parameters include: historical dialogue intentions corresponding to the historical sentences of the current round of dialogue.

结合第二方面,在某些可选的实施方式中,所述系数确定单元,包括:系数确定子单元;With reference to the second aspect, in some optional embodiments, the coefficient determination unit includes: a coefficient determination subunit;

所述系数确定子单元,被配置为执行根据所述分类名称,通过预设的意图状态确定规则,确定相应的所述意图状态系数,其中,所述意图状态系数与所述分类名称相匹配。The coefficient determination subunit is configured to determine the corresponding intention state coefficient through a preset intention state determination rule according to the classification name, wherein the intention state coefficient matches the classification name.

第三方面,一种计算机可读存储介质,其上存储有程序,所述程序被处理器执行时实现上述任一项所述的用户对话意图的识别方法。In a third aspect, a computer-readable storage medium stores a program thereon, and when the program is executed by a processor, implements any one of the above-mentioned methods for recognizing a user's dialog intention.

第四方面,一种电子设备,所述电子设备包括至少一个处理器、以及与所述处理器连接的至少一个存储器、总线;其中,所述处理器、所述存储器通过所述总线完成相互间的通信;所述处理器用于调用所述存储器中的程序指令,以执行上述任一项所述的用户对话意图的识别方法。In a fourth aspect, an electronic device includes at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other through the bus. communication; the processor is configured to invoke the program instructions in the memory to execute the method for recognizing the user's dialog intention described in any one of the above.

借由上述技术方案,本发明提供的一种用户对话意图的识别方法、装置、存储介质和电子设备,可以通过获得针对本轮对话中当前句子的句子意图识别结果,其中,所述句子意图识别结果包括:分类名称和分类得分;根据所述分类名称,确定相应的意图状态系数;根据所述分类得分和所述意图状态系数确定相应的置信度;根据所述置信度和预设的意图确定规则,确定所述本轮对话的当前句子对应的对话意图,其中,所述预设的意图确定规则中涉及的参数包括:所述本轮对话的历史句子对应的历史对话意图。由此可以看出,本发明可以结合前文的对话意图,准确识别每一句话的对话意图,进一步提高应答的流畅度,提升用户体验。With the above technical solutions, the present invention provides a method, device, storage medium and electronic device for identifying user dialogue intentions, which can obtain a sentence intention identification result for the current sentence in the current round of dialogue, wherein the sentence intention identification The results include: classification name and classification score; according to the classification name, determine the corresponding intention state coefficient; determine the corresponding confidence level according to the classification score and the intention state coefficient; determine according to the confidence level and the preset intention A rule is used to determine the dialogue intention corresponding to the current sentence of the current round of dialogue, wherein the parameters involved in the preset intention determination rule include: the historical dialogue intention corresponding to the historical sentence of the current round of dialogue. It can be seen from this that the present invention can accurately identify the dialogue intention of each sentence in combination with the foregoing dialogue intention, further improve the fluency of the response, and improve the user experience.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, in order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand , the following specific embodiments of the present invention are given.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be considered limiting of the invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:

图1示出了本发明提供的一种用户对话意图的识别方法的流程图;Fig. 1 shows a flowchart of a method for identifying a user's dialog intention provided by the present invention;

图2示出了本发明提供的一种意图状态确定规则的示意图;2 shows a schematic diagram of an intent state determination rule provided by the present invention;

图3示出了本发明提供的第一意图确定规则的示意图;3 shows a schematic diagram of a first intent determination rule provided by the present invention;

图4示出了本发明提供的第二意图确定规则的示意图;Fig. 4 shows the schematic diagram of the second intention determination rule provided by the present invention;

图5示出了本发明提供的第三意图确定规则的示意图;5 shows a schematic diagram of a third intent determination rule provided by the present invention;

图6示出了本发明提供的一种用户对话意图的识别装置的结构示意图;6 shows a schematic structural diagram of a device for identifying user dialog intentions provided by the present invention;

图7示出了本发明提供的一种电子设备的结构示意图。FIG. 7 shows a schematic structural diagram of an electronic device provided by the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.

如图1所示,本发明提供了一种用户对话意图的识别方法,包括:S100、S200、S300和S400;As shown in FIG. 1 , the present invention provides a method for identifying a user's dialog intention, including: S100, S200, S300 and S400;

S100、获得针对本轮对话中当前句子的句子意图识别结果,其中,所述句子意图识别结果包括:分类名称和分类得分;S100, obtaining a sentence intent recognition result for the current sentence in the current round of dialogue, wherein the sentence intent recognition result includes: a classification name and a classification score;

可选的,所述分类名称一定程度上可以表征:自然语言识别模块识别句子得到的当前句子对应的对话意图,本发明对此不做限制。Optionally, the category name can represent to a certain extent: the dialogue intention corresponding to the current sentence obtained by the natural language recognition module identifying the sentence, which is not limited in the present invention.

可选的,分类得分一定程度上可以表征:自然语言识别模块识别句子得到的当前句子对应的对话意图的可信度,分类得分越高,说明自然语言识别模块得到的当前句子对应的对话意图可信度越高,本发明对此不做限制。Optionally, the classification score can represent to a certain extent: the credibility of the dialogue intent corresponding to the current sentence obtained by the natural language recognition module for recognizing the sentence. The higher the reliability, the present invention does not limit this.

可选的,本发明所说的自然语言识别模块可以针对具体一句话进行识别得到相应的句子意图识别结果,但不能结合前文,即不能结合本轮对话的历史对话过程中的历史句子识别当前句话的句子意图识别结果。因此,这里需要获得本轮对话的当前句子的句子意图识别结果,以便于后续结合本轮对话的历史句子对应的历史对话意图进一步确定当前句子的句子意图识别结果,一定程度上可以提高识别用户对话意图的准确度,本发明对此不做限制。Optionally, the natural language recognition module of the present invention can recognize a specific sentence to obtain a corresponding sentence intent recognition result, but cannot be combined with the previous text, that is, cannot be combined with the historical sentence in the historical dialogue process of the current round of dialogue to identify the current sentence. The sentence intent recognition results of the words. Therefore, it is necessary to obtain the sentence intent recognition result of the current sentence of the current round of dialogue, so as to further determine the sentence intent recognition result of the current sentence in combination with the historical dialogue intent corresponding to the historical sentence of the current round of dialogue, which can improve the recognition of user dialogues to a certain extent. The intended accuracy is not limited by the present invention.

可选的,基于通过网上对话进行服务的特点,当用户需要服务时,会向执行本发明的执行本发明的主体发起对话,待用户认为可以结束本次服务之后,可以不回复或者向执行本发明的主体指示结束本轮对话。本发明的所述的本轮对话的起点是本轮对话的用户发起对话的时刻,相应的本轮对话的历史句子也可以理解为从本轮对话的起点开始,到用户输入当前句子的期间、用户所输入的所有历史句子,本发明对此不做限制。Optionally, based on the characteristics of providing services through online dialogue, when the user needs the service, it will initiate a dialogue with the subject who implements the present invention. The subject of the invention instructs to end the current round of dialogue. The starting point of the current round of dialogue in the present invention is the moment when the user of the current round of dialogue initiates the dialogue, and the corresponding historical sentences of the current round of dialogue can also be understood as starting from the starting point of the current round of dialogue, to the period when the user inputs the current sentence, All historical sentences input by the user are not limited in the present invention.

可选的,本发明对于分类得分的取值范围不做限制,任何可行的方式均属于本发明保护范围。例如,可以采用满分是10分的方式,也可以千分制或者百分制,例如,分类得分的取值范围为:从0至1的取值范围。Optionally, the present invention does not limit the value range of the classification score, and any feasible manner falls within the protection scope of the present invention. For example, the full score may be 10 points, or the thousand-point system or the hundred-point system may be adopted. For example, the value range of the classification score is: a value range from 0 to 1.

可选的,本发明对于不同的分类名称的划分方式不做具体限制,任何可行的方式均属于本发明的保护范围,任何可行的方式均属于本发明的保护范围。例如,分类名称可以包括:新增类、独占类、修改类、并存类和无效类等五大类。Optionally, the present invention does not specifically limit the division methods of different classification names, any feasible method belongs to the protection scope of the present invention, and any feasible method belongs to the protection scope of the present invention. For example, the category name can include five categories: new category, exclusive category, modified category, concurrent category and invalid category.

其中,新增类具体可以包括:用户的对话意图默认是新增状态的情况。The newly added class may specifically include: the user's dialog intention is a new state by default.

独占类具体可以包括:(1)用户咨询的核心业务的对话意图进入独占状态;(2)本轮通话的历史对话中只有唯一的独占状态;(3)本轮通话的历史对话中有独占意图时,除无效意图,无其他状态等情况。The exclusive category can specifically include: (1) the dialogue intention of the core business consulted by the user enters the exclusive state; (2) there is only one exclusive state in the historical dialogue of the current round of calls; (3) the historical dialogue of the current round of calls has exclusive intentions , except for invalid intent, there is no other status, etc.

修改类具体可以包括:(1)当出现用户的意图可能要切换时,可能修改的多个意图;(2)本轮通话的历史对话中有修改意图时,除无效意图,无其他状态意图等情况。The modification class can specifically include: (1) When the user's intention may be switched, multiple intentions that may be modified; (2) When there is a modification intention in the historical dialogue of this round of calls, except for the invalid intention, there is no other state intention, etc. Happening.

并存类具体可以包括:(1)当用户表达的是相同槽的方案型意图;(2)对话中有并存意图时,除无效意图,无其他状态意图等情况。The coexistence class can specifically include: (1) when the user expresses the scheme-type intention of the same slot; (2) when there is a coexistence intention in the dialogue, except for the invalid intention, there are no other state intentions, etc.

其中,方案型业务指的是:按需收集用户信息填槽,填槽完成后将应答方案推送给用户。任务型业务指的是:收集用户信息填槽,经过多轮交互所有槽填充并确认后,执行任务,任务完成后推送结果。Among them, the scheme-based service refers to collecting user information on demand to fill the slot, and pushing the response scheme to the user after filling the slot. Task-based business refers to collecting user information to fill slots, and after multiple rounds of interaction to fill and confirm all slots, execute the task, and push the results after the task is completed.

无效类具体可以包括:(1)用户意图切换后,本轮通话的全部历史对话的意图全部进入无效状态;(2)无效意图可与任何状态意图并存等情况。The invalid category may specifically include: (1) After the user's intention is switched, all the historical conversation intentions of the current round of calls enter the invalid state; (2) The invalid intention can coexist with any state intention, etc.

可选的,无效意图可以理解为历史中没有且置信度比较低的意图,本发明对此不做限制。Optionally, an invalid intent may be understood as an intent that has no history and a relatively low degree of confidence, which is not limited in the present invention.

可选的,本发明对于自然语言识别模块的不做具体限制,任何可行的方式均属于本发明的保护范围。例如,所述意图识别模型可以为:基于RNN深度学习算法训练得到的语义识别模型。Optionally, the present invention does not specifically limit the natural language recognition module, and any feasible manner falls within the protection scope of the present invention. For example, the intent recognition model may be: a semantic recognition model trained based on an RNN deep learning algorithm.

S200、根据所述分类名称,确定相应的意图状态系数;S200. Determine a corresponding intention state coefficient according to the classification name;

可选的,如前所述,不同情况下对应不同的分类,则可以根据前述所描述的新增类、独占类、修改类、并存类和无效类等五大类分别对应的情况,提前设定相应的意图状态确定规则。Optionally, as mentioned above, different categories correspond to different situations, and can be set in advance according to the corresponding situations of the five categories described above, namely, new categories, exclusive categories, modified categories, coexisting categories, and invalid categories. The corresponding intent state determines the rules.

例如,可选实施1,结合图1所示的实施方式,在某些可选的实施方式中,所述S200,包括:For example, in optional implementation 1, in combination with the implementation shown in FIG. 1 , in some optional implementations, the S200 includes:

根据所述分类名称,通过预设的意图状态确定规则,确定相应的所述意图状态系数,其中,所述意图状态系数与所述分类名称相匹配。According to the classification name, the corresponding intention state coefficient is determined through a preset intention state determination rule, wherein the intention state coefficient matches the classification name.

可选的,意图状态确定规则可以通过表格的形式进行设定,例如如图2所示,通过图2所示的表格,可以确定当前句子对应的意图状态系数,本发明对此不走限制。Optionally, the intent state determination rule can be set in the form of a table. For example, as shown in FIG. 2 , the intent state coefficient corresponding to the current sentence can be determined through the table shown in FIG. 2 , which is not limited in the present invention.

例如,可选实施2,结合可选实施1,在某些可选的实施方式中,所述根据所述分类名称,通过预设的意图状态确定规则,确定相应的所述意图状态系数,其中,所述意图状态系数与所述分类名称相匹配,包括:步骤1.1、步骤1.2、步骤1.3、步骤1.4和步骤1.5;For example, in optional implementation 2, in combination with optional implementation 1, in some optional implementation manners, according to the classification name, the corresponding intention state coefficient is determined through a preset intention state determination rule, wherein , the intention state coefficient matches the classification name, including: step 1.1, step 1.2, step 1.3, step 1.4 and step 1.5;

步骤1.1、若所述分类名称与所述意图状态确定规则中的新增意图相匹配,则确定所述意图状态确定规则中的新增系数作为所述意图状态系数,其中,所述新增系数与所述新增意图对应,所述新增意图表征所述当前句子涉及的意图在本轮通话的历史对话中从未出现过;Step 1.1. If the category name matches the newly added intent in the intent state determination rule, determine the newly added coefficient in the intent state determination rule as the intent state coefficient, wherein the newly added coefficient Corresponding to the newly added intention, the newly added intention represents that the intention involved in the current sentence has never appeared in the historical dialogue of the current round of calls;

步骤1.2、若所述分类名称与所述意图状态确定规则中的独占意图相匹配,则确定所述意图状态确定规则中的独占系数作为所述意图状态系数,其中,所述独占系数与所述独占意图对应,所述独占意图表征所述当前句子涉及的意图的置信度高于一定阈值;Step 1.2: If the category name matches the exclusive intent in the intent state determination rule, determine the exclusive coefficient in the intent state determination rule as the intent state coefficient, wherein the exclusive coefficient is the same as the intent state coefficient. Corresponding to an exclusive intent, where the exclusive intent represents that the confidence level of the intent involved in the current sentence is higher than a certain threshold;

步骤1.3、若所述分类名称与所述意图状态确定规则中的修改意图相匹配,则确定所述意图状态确定规则中的修改系数作为所述意图状态系数,其中,所述修改系数与所述修改意图对应,所述修改意图表征所述当前句子涉及的意图的置信度高于一定阈值且与本轮通话的历史对话涉及的各意图没有关系;Step 1.3: If the category name matches the modification intention in the intention state determination rule, determine the modification coefficient in the intention state determination rule as the intention state coefficient, wherein the modification coefficient is the same as the intention state coefficient. Corresponding to the modification intention, the modification intention represents that the confidence level of the intention involved in the current sentence is higher than a certain threshold and has nothing to do with each intention involved in the historical dialogue of the current round of calls;

步骤1.4、若所述分类名称与所述意图状态确定规则中的并存意图相匹配,则确定所述意图状态确定规则中的并存系数作为所述意图状态系数,其中,所述并存系数与所述并存意图对应,所述并存意图表征所述当前句子涉及的意图与本轮通话的历史对话的至少一个意图具有强相关性;Step 1.4. If the category name matches the coexistence intention in the intention state determination rule, determine the coexistence coefficient in the intention state determination rule as the intention state coefficient, wherein the coexistence coefficient is the same as the intention state coefficient. Corresponding to coexisting intentions, the coexisting intentions represent that the intention involved in the current sentence has a strong correlation with at least one intention of the historical dialogue of the current round of calls;

步骤1.5、若所述分类名称与所述意图状态确定规则中的无效意图相匹配,则确定所述意图状态确定规则中的无效系数作为所述意图状态系数,其中,所述无效系数与所述无效意图对应,所述无效意图表征所述当前句子涉及的意图具有明确的意图切换。Step 1.5: If the category name matches the invalid intent in the intent state determination rule, determine the invalid coefficient in the intent state determination rule as the intent state coefficient, where the invalid coefficient is the same as the intent state coefficient. The invalid intent corresponds to the invalid intent representing that the intent involved in the current sentence has an explicit intent switch.

可选的,步骤1.1、步骤1.2、步骤1.3、步骤1.4和步骤1.5之间是并行的关系,没有必然的先后执行顺序,本发明对此不做限制。Optionally, step 1.1, step 1.2, step 1.3, step 1.4 and step 1.5 are in a parallel relationship, and there is no necessary sequence of execution, which is not limited in the present invention.

可选的,本发明所说的新增类、独占类、修改类、并存类和无效类可以与新增意图、独占意图、修改意图、并存意图和无效意图依次对应,也可以理解为依次等同。即在自然语言识别模块这一侧采用新增类、独占类、修改类、并存类和无效类进行描述,在意图状态管理模块这一侧用新增意图、独占意图、修改意图、并存意图和无效意图进行对应描述,以便于区别,本发明对此不做限制。Optionally, the newly added category, exclusive category, modified category, concurrent category and invalid category mentioned in the present invention may correspond to the newly added intent, exclusive intent, modified intent, concurrent intent and void intent in sequence, and may also be understood to be equivalent in sequence. . That is, on the side of the natural language recognition module, new classes, exclusive classes, modified classes, concurrent classes and invalid classes are used to describe, and on the side of the intent state management module, new intents, exclusive intents, modified intents, concurrent intents and Invalid intentions are described correspondingly for the convenience of distinction, which is not limited in the present invention.

可选的,本发明对于新增系数、独占系数、修改系数、并存系数和无效系数的大小不做具体限制,可以根据实际需要进行设定,本发明对此不做限制。例如,设定:新增系数=2.5、独占系数=3.5、修改系数=2.5、并存系数=3,以及无效系数=2。Optionally, the present invention does not specifically limit the sizes of newly added coefficients, exclusive coefficients, modified coefficients, coexisting coefficients and invalid coefficients, which can be set according to actual needs, which is not limited by the present invention. For example, set: new coefficient=2.5, exclusive coefficient=3.5, modification coefficient=2.5, coexistence coefficient=3, and invalid coefficient=2.

S300、根据所述分类得分和所述意图状态系数确定相应的置信度;S300. Determine a corresponding confidence level according to the classification score and the intention state coefficient;

可选的,如前所述,虽然分类得分一定程度上可以表征:自然语言识别模块识别句子得到的当前句子对应的对话意图的可信度。但由于自然语言识别模块并未结合本轮的历史对话进行识别,所以可以进一步由置信度计算模块计算相应的置信度,本发明对此不做限制。Optionally, as mentioned above, although the classification score can represent to a certain extent: the credibility of the dialogue intention corresponding to the current sentence obtained by the natural language recognition module recognizing the sentence. However, since the natural language recognition module does not perform recognition in combination with the historical dialogue of the current round, the corresponding confidence degree can be further calculated by the confidence degree calculation module, which is not limited in the present invention.

可选的,本发明对于计算置信度的过程不做限制,任何可行的方式均属于本发明的保护范围。例如,可选实施3,结合图1所示的实施方式,在某些可选的实施方式中,所述S300包括:Optionally, the present invention does not limit the process of calculating the confidence level, and any feasible method falls within the protection scope of the present invention. For example, in optional implementation 3, in combination with the implementation shown in FIG. 1 , in some optional implementations, the S300 includes:

根据公式1:C=log(scorei×Z)×ratioi,计算得到所述置信度,其中,所述C为所述置信度,所述i为句子标号,所述scorei为所述分类得分,所述Z为预设的缩放因子,所述ratioi为所述意图状态系数。According to formula 1: C=log(score i ×Z)×ratio i , the confidence level is calculated, wherein the C is the confidence level, the i is the sentence label, and the score i is the classification score, the Z is a preset scaling factor, and the ratio i is the intent state coefficient.

S400、根据所述置信度和预设的意图确定规则,确定所述本轮对话的当前句子对应的对话意图,其中,所述预设的意图确定规则中涉及的参数包括:所述本轮对话的历史句子对应的历史对话意图。S400. Determine a dialogue intention corresponding to the current sentence of the current round of dialogue according to the confidence level and a preset intention determination rule, wherein the parameters involved in the preset intention determination rule include: the current round of dialogue The historical sentence corresponding to the historical dialogue intent.

可选的,本发明可以记录本轮对话的各历史对话意图,以便于在S400的意图确定规则参考各历史对话意图确定当前句子的对话意图,本发明对此不做限制。Optionally, the present invention may record each historical dialogue intention of the current round of dialogue, so that the intention determination rule in S400 determines the dialogue intention of the current sentence with reference to each historical dialogue intention, which is not limited in the present invention.

可选的,预设的意图确定规则可以记录不同的置信度对应的不同的意图确定规则。一个意图确定规则又可以详细记录不同情况对应的不同对话意图,以便于确定所述本轮对话的当前句子对应的对话意图,本发明对此不做限制。Optionally, the preset intent determination rules may record different intent determination rules corresponding to different confidence levels. An intent determination rule can further record different dialogue intents corresponding to different situations in detail, so as to facilitate determining the dialogue intent corresponding to the current sentence of the current round of dialogue, which is not limited in the present invention.

例如,可选实施4,结合图1所示的实施方式,在某些可选的实施方式中,所述S400,包括:步骤2.1、步骤2.2、步骤2.3和步骤2.4;For example, in optional implementation 4, in combination with the implementation shown in FIG. 1 , in some optional implementations, the S400 includes: step 2.1, step 2.2, step 2.3, and step 2.4;

步骤2.1、比较所述置信度与第一预设阈值之间的大小,以及比较所述置信度与第二预设阈值之间的大小,其中,所述第一预设阈值大于所述第二预设阈值;Step 2.1. Compare the size between the confidence level and a first preset threshold, and compare the size between the confidence level and a second preset threshold, wherein the first preset threshold is greater than the second preset threshold preset threshold;

步骤2.2、若所述置信度不小于所述第一预设阈值,则根据预设的第一意图确定规则,确定所述对话意图;Step 2.2, if the confidence level is not less than the first preset threshold, determine the dialog intent according to a preset first intent determination rule;

可选的,本发明对于所述意图状态管理模块根据预设的第一意图确定规则,确定所述对话意图的过程不做具体限制,具体需要参见第一意图确定规则。例如根据如图3所示的第一意图确定规则,可以确定当前句子对应的对话意图,本发明对此不做限制。Optionally, the present invention does not specifically limit the process of determining the dialog intent by the intent state management module according to a preset first intent determination rule. For details, refer to the first intent determination rule. For example, according to the first intent determination rule shown in FIG. 3 , the dialog intent corresponding to the current sentence can be determined, which is not limited in the present invention.

可选的,如图3所示的表格可以是置信度不小于10的第一意图确定规则。通过第一意图确定规则,可以返回当前句子对应的对话意图,即图3中所示的“返回对话意图”一栏,本发明对此不做限制。Optionally, the table shown in FIG. 3 may be a first intent determination rule with a confidence level of not less than 10. Through the first intent determination rule, the dialog intent corresponding to the current sentence can be returned, that is, the "return dialog intent" column shown in FIG. 3 , which is not limited in the present invention.

步骤2.3、若所述置信度小于所述第一预设阈值且大于所述第二预设阈值,则根据预设的第二意图确定规则,确定所述用户对话意图;Step 2.3, if the confidence level is less than the first preset threshold and greater than the second preset threshold, determine the user dialog intent according to a preset second intent determination rule;

可选的,本发明对于所述意图状态管理模块根据预设的第二意图确定规则,确定所述对话意图的过程不做具体限制,具体需要参见第二意图确定规则。例如根据如图4所示的第二图确定规则,可以确定当前句子对应的对话意图,本发明对此不做限制。Optionally, the present invention does not specifically limit the process of determining the dialog intent by the intent state management module according to a preset second intent determination rule. For details, please refer to the second intent determination rule. For example, according to the second graph determination rule shown in FIG. 4 , the dialog intention corresponding to the current sentence can be determined, which is not limited in the present invention.

可选的,如图4所示的表格可以是置信度小于10且大于5的第二意图确定规则。通过第二意图确定规则,可以返回当前句子对应的对话意图,即图4中所示的“返回对话意图”一栏,本发明对此不做限制。Optionally, the table shown in FIG. 4 may be a second intention determination rule with a confidence level of less than 10 and greater than 5. Through the second intent determination rule, the dialog intent corresponding to the current sentence can be returned, that is, the "return dialog intent" column shown in FIG. 4 , which is not limited in the present invention.

步骤2.4、若所述置信度不大于所述第二预设阈值,则根据预设的第三意图确定规则,确定所述用户对话意图。Step 2.4: If the confidence level is not greater than the second preset threshold, determine the user dialog intent according to a preset third intent determination rule.

可选的,本发明对于所述意图状态管理模块根据预设的第三意图确定规则,确定所述对话意图的过程不做具体限制,具体需要参见第三意图确定规则。例如根据如图5所示的第三意图确定规则,可以确定当前句子对应的对话意图,本发明对此不做限制。Optionally, the present invention does not specifically limit the process of determining the dialog intent by the intent state management module according to a preset third intent determination rule. For details, refer to the third intent determination rule. For example, according to the third intent determination rule shown in FIG. 5 , the dialog intent corresponding to the current sentence can be determined, which is not limited in the present invention.

可选的,如图5所示的表格可以是置信度不大于5的第三意图确定规则。通过第三意图确定规则,可以返回当前句子对应的对话意图,即图5中所示的“返回对话意图”一栏,本发明对此不做限制。Optionally, the table shown in FIG. 5 may be a third intent determination rule with a confidence level not greater than 5. Through the third intent determination rule, the dialog intent corresponding to the current sentence can be returned, that is, the "return dialog intent" column shown in FIG. 5 , which is not limited in the present invention.

可选的,步骤2.2、步骤2.3和步骤2.4之间是并行的关系,没有必然的先后执行顺序,本发明对此不做限制。Optionally, step 2.2, step 2.3 and step 2.4 are in a parallel relationship, and there is no necessary sequence of execution, which is not limited in the present invention.

可选实施5,结合图1所示的实施方式,在某些可选的实施方式中,在所述S100之前,所述方法还包括:步骤3.1、步骤3.2、步骤3.3和步骤3.4;Optional implementation 5, in combination with the implementation shown in FIG. 1, in some optional implementations, before the S100, the method further includes: step 3.1, step 3.2, step 3.3, and step 3.4;

步骤3.1、本系统中的自然语言识别模块调用预设的意图识别模型对所述当前句子进行意图识别,从而确定所述当前句子对应的所述句子意图识别结果,其中,所述意图识别模型为:基于RNN深度学习算法训练得到的模型;Step 3.1. The natural language recognition module in this system invokes a preset intention recognition model to perform intention recognition on the current sentence, thereby determining the sentence intention recognition result corresponding to the current sentence, wherein the intention recognition model is: : The model trained based on the RNN deep learning algorithm;

步骤3.2、所述自然语言识别模块将所述句子意图识别结果发送至本系统中的对话管理模块;Step 3.2, the natural language recognition module sends the sentence intention recognition result to the dialogue management module in this system;

可选的,对话管理模块可以基于不同的对话意图,采用有不同的应答方式:1、方案型业务:按需收集用户信息填槽,填槽完成后将应答方案推送给用户;2、任务型业务:收集用户信息填槽,经过多轮交互所有槽填充并确认后,执行任务,任务完成后推送结果,本发明对此不做限制。Optionally, the dialogue management module can adopt different response methods based on different dialogue intentions: 1. Scheme-based business: collect user information as needed to fill in the slot, and push the response scheme to the user after filling the slot; 2. Task-based Business: Collect user information to fill slots, and after multiple rounds of interaction to fill and confirm all slots, execute the task, and push the result after the task is completed, which is not limited in the present invention.

步骤3.3、所述对话管理模块将所述句子意图识别结果发送至本系统中的对话意图决策模块,以调用所述对话意图决策模块;Step 3.3, the dialogue management module sends the sentence intention recognition result to the dialogue intention decision-making module in this system, so as to call the dialogue intention decision-making module;

可选的,对话意图决策模块可以作为对话管理模块的子模块嵌入在所述对话管理模块中,也可以作为一个独立的模块由对话管理模块进行调用,本发明对此不做限制。Optionally, the dialogue intention decision module may be embedded in the dialogue management module as a sub-module of the dialogue management module, or may be called by the dialogue management module as an independent module, which is not limited in the present invention.

可选的,对话意图决策模块可以完成接收句子意图识别结果并发送至意图状态管理模块的过程,以及后续向用户推送结果的过程,本发明对此不做限制。Optionally, the dialog intent decision module may complete the process of receiving the sentence intent recognition result and sending it to the intent state management module, and the subsequent process of pushing the result to the user, which is not limited in the present invention.

步骤3.4、所述对话意图决策模块将所述句子意图识别结果发送至所述本系统中的意图状态管理模块,以调用所述意图状态管理模块;Step 3.4, the dialogue intention decision module sends the sentence intention recognition result to the intention state management module in the system to call the intention state management module;

可选的,所述对话意图决策模块将所述句子意图识别结果发送至所述意图状态管理模块,可以理解为意图状态管理模块获得所述句子意图识别结果,本发明对此不做限制。Optionally, the dialogue intention decision module sends the sentence intention recognition result to the intention state management module, which can be understood as the intention state management module obtains the sentence intention recognition result, which is not limited in the present invention.

可选的,意图状态管理模块获得句子意图识别结果后,触发意图状态管理模块执行相应的过程,包括调用置信度计算模块的过程,本发明对此不做限制。Optionally, after the intent state management module obtains the sentence intent recognition result, it triggers the intent state management module to execute a corresponding process, including the process of calling the confidence calculation module, which is not limited in the present invention.

其中,所述意图状态管理模块、所述对话意图决策模块和所述置信度计算模块均为所述对话管理模块内部调用的模块,且所述对话意图决策模块调用所述意图状态管理模块,所述意图状态管理模块调用所述置信度计算模块。Wherein, the intention state management module, the dialogue intention decision module and the confidence calculation module are all modules called internally by the dialogue management module, and the dialogue intention decision module calls the intention state management module, so The intention state management module calls the confidence calculation module.

可选实施6,结合图1所示的实施方式,在某些可选的实施方式中,所述方法还包括:Optional implementation 6, in conjunction with the implementation shown in FIG. 1 , in some optional implementations, the method further includes:

根据所述本轮对话的当前句子对应的对话意图,更新所述本轮对话的历史句子对应的历史对话意图。According to the dialogue intention corresponding to the current sentence of the current round of dialogue, the historical dialogue intention corresponding to the historical sentence of the current round of dialogue is updated.

可选的,如前所述,在预设的意图确定规则涉及到历史对话意图,即在所述意图状态管理模块根据所述置信度和预设的意图确定规则,确定所述本轮对话的当前句子对应的对话意图时,使用到历史对话意图。所以,历史对话意图的准确度一定程度上会影响本发明最终的执行效果,所以可以进一步根据当前句子对应的对话意图,更新所述本轮对话的历史句子对应的历史对话意图,具体请参见图3、图4和图5中的“对话意图更新逻辑”一栏,本发明对此不做限制。Optionally, as described above, the preset intent determination rule involves historical dialog intent, that is, the intent state management module determines the current dialog based on the confidence level and the preset intent determination rule. When the dialogue intent corresponding to the current sentence is used, the historical dialogue intent is used. Therefore, the accuracy of the historical dialogue intention will affect the final execution effect of the present invention to a certain extent. Therefore, the historical dialogue intention corresponding to the historical sentence of the current round of dialogue can be further updated according to the dialogue intention corresponding to the current sentence. For details, please refer to Fig. 3. The column of “dialog intent update logic” in FIG. 4 and FIG. 5 is not limited in the present invention.

如图6所示,本发明提供了一种用户对话意图的识别装置,包括:意图状态管理模块100和置信度计算模块200;As shown in FIG. 6 , the present invention provides an apparatus for identifying user dialog intentions, including: an intention state management module 100 and a confidence level calculation module 200;

所述意图状态管理模块100包括:接收单元110、系数确定单元120和意图确定单元130;The intention state management module 100 includes: a receiving unit 110, a coefficient determination unit 120 and an intention determination unit 130;

所述接收单元110,被配置为执行获得针对本轮对话中当前句子的句子意图识别结果,其中,所述句子意图识别结果包括:分类名称和分类得分;The receiving unit 110 is configured to execute and obtain a sentence intent recognition result for the current sentence in the current round of dialogue, wherein the sentence intent recognition result includes: a classification name and a classification score;

所述系数确定单元120,被配置为执行根据所述分类名称,确定相应的意图状态系数;The coefficient determination unit 120 is configured to determine the corresponding intention state coefficient according to the classification name;

所述置信度计算模块200,被配置为执行根据所述分类得分和所述意图状态系数确定相应的置信度;The confidence level calculation module 200 is configured to determine the corresponding confidence level according to the classification score and the intention state coefficient;

所述意图确定单元130,被配置为执行根据所述置信度和预设的意图确定规则,确定所述本轮对话的当前句子对应的对话意图,其中,所述预设的意图确定规则中涉及的参数包括:所述本轮对话的历史句子对应的历史对话意图。The intention determination unit 130 is configured to execute according to the confidence level and a preset intention determination rule to determine the dialogue intention corresponding to the current sentence of the current round of dialogue, wherein the preset intention determination rule involves The parameters include: the historical dialogue intention corresponding to the historical sentence of the current round of dialogue.

结合图6所示的实施方式,在某些可选的实施方式中,所述系数确定单元120,包括:系数确定子单元;With reference to the embodiment shown in FIG. 6 , in some optional embodiments, the coefficient determination unit 120 includes: a coefficient determination subunit;

所述系数确定子单元,被配置为执行根据所述分类名称,通过预设的意图状态确定规则,确定相应的所述意图状态系数,其中,所述意图状态系数与所述分类名称相匹配。The coefficient determination subunit is configured to determine the corresponding intention state coefficient through a preset intention state determination rule according to the classification name, wherein the intention state coefficient matches the classification name.

结合上一个实施方式,在某些可选的实施方式中,所述系数确定子单元,具体被配置为执行:With reference to the previous embodiment, in some optional embodiments, the coefficient determination subunit is specifically configured to execute:

若所述分类名称与所述意图状态确定规则中的新增意图相匹配,则确定所述意图状态确定规则中的新增系数作为所述意图状态系数,其中,所述新增系数与所述新增意图对应,所述新增意图表征所述当前句子涉及的意图在本轮通话的历史对话中从未出现过;If the category name matches the newly added intent in the intent state determination rule, determine the newly added coefficient in the intent state determination rule as the intent state coefficient, wherein the newly added coefficient is the same as the Corresponding to the newly added intent, the newly added intent indicates that the intent involved in the current sentence has never appeared in the historical dialogue of the current round of calls;

若所述分类名称与所述意图状态确定规则中的独占意图相匹配,则确定所述意图状态确定规则中的独占系数作为所述意图状态系数,其中,所述独占系数与所述独占意图对应,所述独占意图表征所述当前句子涉及的意图的置信度高于一定阈值;If the category name matches an exclusive intent in the intent state determination rule, determine an exclusive coefficient in the intent state determination rule as the intent state coefficient, where the exclusive coefficient corresponds to the exclusive intent , the confidence of the exclusive intent representing the intent involved in the current sentence is higher than a certain threshold;

若所述分类名称与所述意图状态确定规则中的修改意图相匹配,则确定所述意图状态确定规则中的修改系数作为所述意图状态系数,其中,所述修改系数与所述修改意图对应,所述修改意图表征所述当前句子涉及的意图的置信度高于一定阈值且与本轮通话的历史对话涉及的各意图没有关系;If the category name matches the modification intent in the intent state determination rule, determine a modification coefficient in the intent state determination rule as the intent state coefficient, where the modification coefficient corresponds to the modification intent , the modification intent represents that the confidence level of the intent involved in the current sentence is higher than a certain threshold and has no relationship with each intent involved in the historical dialogue of the current round of calls;

若所述分类名称与所述意图状态确定规则中的并存意图相匹配,则确定所述意图状态确定规则中的并存系数作为所述意图状态系数,其中,所述并存系数与所述并存意图对应,所述并存意图表征所述当前句子涉及的意图与本轮通话的历史对话的至少一个意图具有强相关性;If the category name matches the coexistence intent in the intent state determination rule, determine the coexistence coefficient in the intent state determination rule as the intent state coefficient, wherein the coexistence coefficient corresponds to the coexistence intent , the concurrent intent indicates that the intent involved in the current sentence has a strong correlation with at least one intent of the historical dialogue of the current round of conversation;

若所述分类名称与所述意图状态确定规则中的无效意图相匹配,则确定所述意图状态确定规则中的无效系数作为所述意图状态系数,其中,所述无效系数与所述无效意图对应,所述无效意图表征所述当前句子涉及的意图具有明确的意图切换。If the category name matches an invalid intent in the intent state determination rule, determine an invalid coefficient in the intent state determination rule as the intent state coefficient, wherein the invalid coefficient corresponds to the invalid intent , the invalid intent signifies that the intent involved in the current sentence has an explicit intent switch.

结合图6所示的实施方式,在某些可选的实施方式中,所述置信度计算模块200,具体被配置为执行:With reference to the embodiment shown in FIG. 6, in some optional embodiments, the confidence calculation module 200 is specifically configured to execute:

根据公式1:C=log(scorei×Z)×ratioi,计算得到所述置信度,其中,所述C为所述置信度,所述i为句子标号,所述scorei为所述分类得分,所述Z为预设的缩放因子,所述ratioi为所述意图状态系数。According to formula 1: C=log(score i ×Z)×ratio i , the confidence level is calculated, wherein the C is the confidence level, the i is the sentence label, and the score i is the classification score, the Z is a preset scaling factor, and the ratio i is the intent state coefficient.

结合图6所示的实施方式,在某些可选的实施方式中,所述意图确定单元130,包括:比较子单元、第一确定子单元、第二确定子单元和第三确定子单元;With reference to the embodiment shown in FIG. 6 , in some optional embodiments, the intention determination unit 130 includes: a comparison subunit, a first determination subunit, a second determination subunit, and a third determination subunit;

所述比较子单元,被配置为执行比较所述置信度与第一预设阈值之间的大小,以及比较所述置信度与第二预设阈值之间的大小,其中,所述第一预设阈值大于所述第二预设阈值;The comparison subunit is configured to perform a comparison between the confidence level and a first preset threshold, and a comparison between the confidence level and a second preset threshold, wherein the first preset threshold Setting the threshold value to be greater than the second preset threshold value;

所述第一确定子单元,被配置为执行若所述置信度不小于所述第一预设阈值,则根据预设的第一意图确定规则,确定所述对话意图;The first determination subunit is configured to execute, if the confidence level is not less than the first preset threshold, determine the dialog intent according to a preset first intent determination rule;

所述第二确定子单元,被配置为执行若所述置信度小于所述第一预设阈值且大于所述第二预设阈值,则根据预设的第二意图确定规则,确定所述用户对话意图;The second determination subunit is configured to execute, if the confidence level is less than the first preset threshold and greater than the second preset threshold, determine the user according to a preset second intention determination rule conversational intent;

所述第三确定子单元,被配置为执行若所述置信度不大于所述第二预设阈值,则根据预设的第三意图确定规则,确定所述用户对话意图。The third determination subunit is configured to execute, if the confidence level is not greater than the second preset threshold, determine the user dialog intention according to a preset third intention determination rule.

结合图6所示的实施方式,在某些可选的实施方式中,所述装置还包括:自然语言识别模块、对话管理模块和对话意图决策模块;With reference to the embodiment shown in FIG. 6, in some optional embodiments, the apparatus further includes: a natural language recognition module, a dialogue management module, and a dialogue intention decision module;

所述自然语言识别模块包括:调用子模块和发送子单元;The natural language recognition module includes: a calling submodule and a sending subunit;

所述调用子模块,被配置为执行在所述意图状态管理模块100获得自然语言识别模块针对本轮对话的当前句子输出的句子意图识别结果之前,调用预设的意图识别模型对所述当前句子进行意图识别,从而确定所述当前句子对应的所述句子意图识别结果,其中,所述意图识别模型为:基于RNN深度学习算法训练得到的模型;The calling sub-module is configured to execute, before the intention state management module 100 obtains the sentence intention recognition result output by the natural language recognition module for the current sentence of the current round of dialogue, call the preset intention recognition model to the current sentence. Perform intention recognition, thereby determining the sentence intention recognition result corresponding to the current sentence, wherein the intention recognition model is: a model obtained by training based on an RNN deep learning algorithm;

所述发送子单元,被配置为执行将所述句子意图识别结果发送至对话管理模块;The sending subunit is configured to execute sending the sentence intent recognition result to the dialogue management module;

所述对话管理模块,被配置为执行将所述句子意图识别结果发送至对话意图决策模块,以调用所述对话意图决策模块;The dialogue management module is configured to execute sending the sentence intention recognition result to the dialogue intention decision module, so as to call the dialogue intention decision module;

所述对话意图决策模块,被配置为执行将所述句子意图识别结果发送至所述意图状态管理模块100,以调用所述意图状态管理模块100;The dialogue intention decision module is configured to execute sending the sentence intention recognition result to the intention state management module 100, so as to call the intention state management module 100;

其中,所述意图状态管理模块100、所述对话意图决策模块和所述置信度计算模块200均为所述对话管理模块内部调用的模块,且所述对话意图决策模块调用所述意图状态管理模块100,所述意图状态管理模块100调用所述置信度计算模块200。The intention state management module 100, the dialogue intention decision module and the confidence calculation module 200 are all modules called internally by the dialogue management module, and the dialogue intention decision module calls the intention state management module 100, the intention state management module 100 calls the confidence calculation module 200.

结合图6所示的实施方式,在某些可选的实施方式中,所述装置还包括:意图更新单元;With reference to the embodiment shown in FIG. 6 , in some optional embodiments, the apparatus further includes: an intention updating unit;

所述意图更新单元,被配置为执行根据所述本轮对话的当前句子对应的对话意图,更新所述本轮对话的历史句子对应的历史对话意图。The intention updating unit is configured to update the historical dialogue intention corresponding to the historical sentence of the current round of dialogue according to the dialogue intention corresponding to the current sentence of the current round of dialogue.

本发明提供了一种计算机可读存储介质,其上存储有程序,所述程序被处理器执行时实现上述任一项所述的用户对话意图的识别方法。The present invention provides a computer-readable storage medium on which a program is stored, and when the program is executed by a processor, implements any one of the above-mentioned methods for identifying a user's dialog intention.

如图7所示,本发明提供了一种电子设备70,所述电子设备70包括至少一个处理器701、以及与所述701处理器连接的至少一个存储器702、总线703;其中,所述处理器701、所述存储器702通过所述总线703完成相互间的通信;所述处理器701用于调用所述存储器702中的程序指令,以执行上述任一项所述的用户对话意图的识别方法方法。As shown in FIG. 7, the present invention provides an electronic device 70, the electronic device 70 includes at least one processor 701, and at least one memory 702 and a bus 703 connected to the processor 701; wherein, the processing The processor 701 and the memory 702 communicate with each other through the bus 703; the processor 701 is configured to call the program instructions in the memory 702 to execute the method for identifying the user's dialog intention described in any of the above method.

在本申请中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。In this application, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that any such relationship exists between these entities or operations. an actual relationship or sequence. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the partial description of the method embodiment.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (10)

1.一种用户对话意图的识别方法,其特征在于,包括:1. a method for identifying a user's dialogue intention, comprising: 获得针对本轮对话中当前句子的句子意图识别结果,其中,所述句子意图识别结果包括:分类名称和分类得分;Obtain the sentence intent recognition result for the current sentence in this round of dialogue, wherein the sentence intent recognition result includes: classification name and classification score; 根据所述分类名称,确定相应的意图状态系数;According to the classification name, determine the corresponding intention state coefficient; 根据所述分类得分和所述意图状态系数确定相应的置信度;Determine a corresponding confidence level according to the classification score and the intention state coefficient; 根据所述置信度和预设的意图确定规则,确定所述本轮对话的当前句子对应的对话意图,其中,所述预设的意图确定规则中涉及的参数包括:所述本轮对话的历史句子对应的历史对话意图。Determine the dialogue intention corresponding to the current sentence of the current round of dialogue according to the confidence level and the preset intention determination rule, wherein the parameters involved in the preset intention determination rule include: the history of the current round of dialogue The historical dialogue intent corresponding to the sentence. 2.根据权利要求1所述的方法,其特征在于,所述根据所述分类名称,确定相应的意图状态系数,包括:2. The method according to claim 1, wherein the determining the corresponding intention state coefficient according to the classification name comprises: 根据所述分类名称,通过预设的意图状态确定规则,确定相应的所述意图状态系数,其中,所述意图状态系数与所述分类名称相匹配。According to the classification name, the corresponding intention state coefficient is determined through a preset intention state determination rule, wherein the intention state coefficient matches the classification name. 3.根据权利要求2所述的方法,其特征在于,所述根据所述分类名称,通过预设的意图状态确定规则,确定相应的所述意图状态系数,包括:3 . The method according to claim 2 , wherein, according to the classification name, determining the corresponding intention state coefficient through a preset intention state determination rule, comprising: 3 . 若所述分类名称与所述意图状态确定规则中的新增意图相匹配,则确定所述意图状态确定规则中的新增系数作为所述意图状态系数,其中,所述新增系数与所述新增意图对应,所述新增意图表征所述当前句子涉及的意图在本轮通话的历史对话中从未出现过;If the category name matches the newly added intent in the intent state determination rule, determine the newly added coefficient in the intent state determination rule as the intent state coefficient, wherein the newly added coefficient is the same as the Corresponding to the newly added intent, the newly added intent indicates that the intent involved in the current sentence has never appeared in the historical dialogue of the current round of calls; 若所述分类名称与所述意图状态确定规则中的独占意图相匹配,则确定所述意图状态确定规则中的独占系数作为所述意图状态系数,其中,所述独占系数与所述独占意图对应,所述独占意图表征所述当前句子涉及的意图的置信度高于一定阈值;If the category name matches an exclusive intent in the intent state determination rule, determine an exclusive coefficient in the intent state determination rule as the intent state coefficient, where the exclusive coefficient corresponds to the exclusive intent , the confidence of the exclusive intent representing the intent involved in the current sentence is higher than a certain threshold; 若所述分类名称与所述意图状态确定规则中的修改意图相匹配,则确定所述意图状态确定规则中的修改系数作为所述意图状态系数,其中,所述修改系数与所述修改意图对应,所述修改意图表征所述当前句子涉及的意图的置信度高于一定阈值且与本轮通话的历史对话涉及的各意图没有关系;If the category name matches the modification intent in the intent state determination rule, determine a modification coefficient in the intent state determination rule as the intent state coefficient, where the modification coefficient corresponds to the modification intent , the modification intention represents that the confidence level of the intention involved in the current sentence is higher than a certain threshold and has nothing to do with the intentions involved in the historical dialogue of the current round of calls; 若所述分类名称与所述意图状态确定规则中的并存意图相匹配,则确定所述意图状态确定规则中的并存系数作为所述意图状态系数,其中,所述并存系数与所述并存意图对应,所述并存意图表征所述当前句子涉及的意图与本轮通话的历史对话的至少一个意图具有强相关性;If the category name matches the coexistence intent in the intent state determination rule, determine the coexistence coefficient in the intent state determination rule as the intent state coefficient, wherein the coexistence coefficient corresponds to the coexistence intent , the concurrent intent indicates that the intent involved in the current sentence has a strong correlation with at least one intent of the historical dialogue of the current round of conversation; 若所述分类名称与所述意图状态确定规则中的无效意图相匹配,则确定所述意图状态确定规则中的无效系数作为所述意图状态系数,其中,所述无效系数与所述无效意图对应,所述无效意图表征所述当前句子涉及的意图具有明确的意图切换。If the category name matches an invalid intent in the intent state determination rule, determine an invalid coefficient in the intent state determination rule as the intent state coefficient, wherein the invalid coefficient corresponds to the invalid intent , the invalid intent signifies that the intent involved in the current sentence has an explicit intent switch. 4.根据权利要求1所述的方法,其特征在于,所述根据所述分类得分和所述意图状态系数确定相应的置信度,包括:4. The method according to claim 1, wherein the determining a corresponding confidence level according to the classification score and the intention state coefficient comprises: 根据公式1:C=log(scorei×Z)×ratioi,计算得到所述置信度,其中,所述C为所述置信度,所述i为句子标号,所述scorei为所述分类得分,所述Z为预设的缩放因子,所述ratioi为所述意图状态系数。According to formula 1: C=log(score i ×Z)×ratio i , the confidence level is calculated, wherein the C is the confidence level, the i is the sentence label, and the score i is the classification score, the Z is a preset scaling factor, and the ratio i is the intent state coefficient. 5.根据权利要求1所述的方法,其特征在于,所述根据所述置信度和预设的意图确定规则,确定所述本轮对话的当前句子对应的对话意图,包括:5. The method according to claim 1, characterized in that, determining the dialogue intention corresponding to the current sentence of the current round of dialogue according to the confidence level and a preset intention determination rule, comprising: 比较所述置信度与第一预设阈值之间的大小,以及比较所述置信度与第二预设阈值之间的大小,其中,所述第一预设阈值大于所述第二预设阈值;comparing the magnitude between the confidence level and a first preset threshold, and comparing the magnitude between the confidence level and a second preset threshold, wherein the first preset threshold is greater than the second preset threshold ; 若所述置信度不小于所述第一预设阈值,则根据预设的第一意图确定规则,确定所述对话意图;If the confidence level is not less than the first preset threshold, determining the dialog intent according to a preset first intent determination rule; 若所述置信度小于所述第一预设阈值且大于所述第二预设阈值,则根据预设的第二意图确定规则,确定所述用户对话意图;If the confidence level is less than the first preset threshold and greater than the second preset threshold, determining the user dialog intent according to a preset second intent determination rule; 若所述置信度不大于所述第二预设阈值,则根据预设的第三意图确定规则,确定所述用户对话意图。If the confidence level is not greater than the second preset threshold, the user's dialog intent is determined according to a preset third intent determination rule. 6.根据权利要求1所述的方法,其特征在于,所述方法还包括:6. The method of claim 1, wherein the method further comprises: 根据所述本轮对话的当前句子对应的对话意图,更新所述本轮对话的历史句子对应的历史对话意图。According to the dialogue intention corresponding to the current sentence of the current round of dialogue, the historical dialogue intention corresponding to the historical sentence of the current round of dialogue is updated. 7.一种用户对话意图的识别装置,其特征在于,包括:意图状态管理模块和置信度计算模块;7. A device for identifying user dialog intentions, comprising: an intention state management module and a confidence level calculation module; 所述意图状态管理模块包括:接收单元、系数确定单元和意图确定单元;The intention state management module includes: a receiving unit, a coefficient determination unit, and an intention determination unit; 所述接收单元,被配置为执行获得针对本轮对话中当前句子的句子意图识别结果,其中,所述句子意图识别结果包括:分类名称和分类得分;The receiving unit is configured to execute and obtain a sentence intent recognition result for the current sentence in the current round of dialogue, wherein the sentence intent recognition result includes: a classification name and a classification score; 所述系数确定单元,被配置为执行根据所述分类名称,确定相应的意图状态系数;The coefficient determination unit is configured to determine the corresponding intention state coefficient according to the classification name; 所述置信度计算模块,被配置为执行根据所述分类得分和所述意图状态系数确定相应的置信度;The confidence calculation module is configured to perform determining a corresponding confidence according to the classification score and the intention state coefficient; 所述意图确定单元,被配置为执行根据所述置信度和预设的意图确定规则,确定所述本轮对话的当前句子对应的对话意图,其中,所述预设的意图确定规则中涉及的参数包括:所述本轮对话的历史句子对应的历史对话意图。The intention determination unit is configured to execute according to the confidence and a preset intention determination rule to determine the dialogue intention corresponding to the current sentence of the current round of dialogue, wherein the preset intention determination rule involves The parameters include: historical dialogue intentions corresponding to the historical sentences of the current round of dialogue. 8.根据权利要求7所述的装置,其特征在于,所述系数确定单元,包括:系数确定子单元;8. The apparatus according to claim 7, wherein the coefficient determination unit comprises: a coefficient determination subunit; 所述系数确定子单元,被配置为执行根据所述分类名称,通过预设的意图状态确定规则,确定相应的所述意图状态系数,其中,所述意图状态系数与所述分类名称相匹配。The coefficient determination subunit is configured to determine the corresponding intention state coefficient through a preset intention state determination rule according to the classification name, wherein the intention state coefficient matches the classification name. 9.一种计算机可读存储介质,其上存储有程序,其特征在于,所述程序被处理器执行时实现如权利要求1至6中任一项所述的用户对话意图的识别方法。9 . A computer-readable storage medium having a program stored thereon, wherein when the program is executed by a processor, the method for recognizing a user's dialog intention according to any one of claims 1 to 6 is implemented. 10 . 10.一种电子设备,其特征在于,所述电子设备包括至少一个处理器、以及与所述处理器连接的至少一个存储器、总线;其中,所述处理器、所述存储器通过所述总线完成相互间的通信;所述处理器用于调用所述存储器中的程序指令,以执行如权利要求1至6中任一项所述的用户对话意图的识别方法。10. An electronic device, characterized in that the electronic device comprises at least one processor, and at least one memory and a bus connected to the processor; wherein, the processor and the memory are completed through the bus Mutual communication; the processor is configured to invoke the program instructions in the memory to execute the method for recognizing the user's dialog intention according to any one of claims 1 to 6.
CN202210163464.9A 2022-02-22 2022-02-22 Recognition method, device, storage medium and electronic device for user's dialog intention Pending CN114550710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210163464.9A CN114550710A (en) 2022-02-22 2022-02-22 Recognition method, device, storage medium and electronic device for user's dialog intention

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210163464.9A CN114550710A (en) 2022-02-22 2022-02-22 Recognition method, device, storage medium and electronic device for user's dialog intention

Publications (1)

Publication Number Publication Date
CN114550710A true CN114550710A (en) 2022-05-27

Family

ID=81676608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210163464.9A Pending CN114550710A (en) 2022-02-22 2022-02-22 Recognition method, device, storage medium and electronic device for user's dialog intention

Country Status (1)

Country Link
CN (1) CN114550710A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115270816A (en) * 2022-07-21 2022-11-01 京东科技信息技术有限公司 Dialog intention recognition method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040006480A1 (en) * 2002-07-05 2004-01-08 Patrick Ehlen System and method of handling problematic input during context-sensitive help for multi-modal dialog systems
JP2011215742A (en) * 2010-03-31 2011-10-27 Nec Corp Dialogue system, and method for updating dialogue flow and program
US20190348063A1 (en) * 2018-05-10 2019-11-14 International Business Machines Corporation Real-time conversation analysis system
CN111078846A (en) * 2019-11-25 2020-04-28 青牛智胜(深圳)科技有限公司 Multi-turn dialog system construction method and system based on business scene
CN112567332A (en) * 2018-09-28 2021-03-26 苹果公司 Multimodal input of voice commands
US20210097140A1 (en) * 2019-09-30 2021-04-01 Accenture Global Solutions Limited System and method for generation of conversation graphs
WO2021232957A1 (en) * 2020-05-20 2021-11-25 华为技术有限公司 Response method in man-machine dialogue, dialogue system, and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040006480A1 (en) * 2002-07-05 2004-01-08 Patrick Ehlen System and method of handling problematic input during context-sensitive help for multi-modal dialog systems
JP2011215742A (en) * 2010-03-31 2011-10-27 Nec Corp Dialogue system, and method for updating dialogue flow and program
US20190348063A1 (en) * 2018-05-10 2019-11-14 International Business Machines Corporation Real-time conversation analysis system
CN112567332A (en) * 2018-09-28 2021-03-26 苹果公司 Multimodal input of voice commands
US20210097140A1 (en) * 2019-09-30 2021-04-01 Accenture Global Solutions Limited System and method for generation of conversation graphs
CN111078846A (en) * 2019-11-25 2020-04-28 青牛智胜(深圳)科技有限公司 Multi-turn dialog system construction method and system based on business scene
WO2021232957A1 (en) * 2020-05-20 2021-11-25 华为技术有限公司 Response method in man-machine dialogue, dialogue system, and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
RYUICHIRO HIGASHINAKA等: "Incorporating discourse features into confidence scoring of intention recognition results in spoken dialogue systems", 《SPEECH COMMUNICATION》, 25 July 2006 (2006-07-25) *
刘娇;李艳玲;林民;: "人机对话系统中意图识别方法综述", 计算机工程与应用, no. 12, 25 March 2019 (2019-03-25) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115270816A (en) * 2022-07-21 2022-11-01 京东科技信息技术有限公司 Dialog intention recognition method and device and electronic equipment

Similar Documents

Publication Publication Date Title
KR102648306B1 (en) Speech recognition error correction method, related devices, and readable storage medium
KR102178738B1 (en) Automated assistant calls from appropriate agents
KR20190004495A (en) Method, Apparatus and System for processing task using chatbot
CN111028827A (en) Interaction processing method, device, equipment and storage medium based on emotion recognition
EP3545520B1 (en) Voice to text conversion based on third-party agent content
CN111261151B (en) Voice processing method and device, electronic equipment and storage medium
CN114155839B (en) Voice endpoint detection method, device, equipment and storage medium
US11669697B2 (en) Hybrid policy dialogue manager for intelligent personal assistants
CN100504844C (en) Dialog system
CN113515594B (en) Intention recognition method, intention recognition model training method, device and equipment
CN111191450A (en) Corpus cleaning method, corpus entry device and computer-readable storage medium
CN114860910B (en) Intelligent dialogue method and system
CN111027291A (en) Method and device for adding punctuation marks in text and training model and electronic equipment
CN110246493A (en) Address book contact lookup method, device and storage medium
JP7706576B2 (en) Method and apparatus for dynamically navigating an interactive communication system - Patents.com
CN110574104A (en) Auto attendant data flow
JP2018049132A (en) Voice dialogue system and method for voice dialogue
WO2022083114A1 (en) Smart dialog method, apparatus, device, storage medium, and program
CN113220852B (en) Man-machine dialogue method, device, equipment and storage medium
CN115391503A (en) Application method and device of session flow
CN109388695B (en) User intent recognition method, device, and computer-readable storage medium
KR20220010034A (en) Enter voice-controlled content into a graphical user interface
CN110503943B (en) Voice interaction method and voice interaction system
CN114550710A (en) Recognition method, device, storage medium and electronic device for user's dialog intention
US20220164545A1 (en) Dialog action estimation device, dialog action estimation method, dialog action estimation model learning device, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination