Unlock instant, AI-driven research and patent intelligence for your innovation.

Conversation generation method and device

一种第一、隐层的技术,应用在对话生成方法及装置领域,能够解决生成对话精确度低等问题

Active Publication Date: 2018-01-26
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can solve the technical problem of low accuracy in generating dialogs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Conversation generation method and device
  • Conversation generation method and device
  • Conversation generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0027] Please refer to figure 1 , figure 1 It is a schematic flowchart of a dialog generation method provided by the first embodiment of the present invention. As shown in the figure, the method in the embodiment of the present invention includes:

[0028] S101, converting each word in the K-th round of query sentences into the first word vector, and calculating the forward hidden layer vector and reverse hidden layer vector of each word according to...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a conversation generation method, which comprises the following steps that: converting each character in the Kth round of inquiry sentence into a first word vector, and calculating the forward direction implicit strata vector and the reverse direction implicit strata vector of each character according to the first word vector; obtaining the content topic of the Kth round of inquiry sentence, and converting the content topic into a second word vector; according to the second word vector, the forward direction implicit strata vector of the last characterin the Kth round of inquiry sentence, the implicit strata vector of the last character in a (K-1)th round of inquiry sentence output by aiming at a (K-1)th round of inquiry sentence and the initial implicit strata vector of the (K-1)th round of inquiry sentence output by aiming at a (K-1)th round of inquiry sentence, determining the initial implicit strata vector which aims at the Kth round of inquiry sentence; and according to the forward direction implicit strata vector and the reverse direction implicit strata vector of each character in the Kth round of inquiry sentence and the initial implicit strata vector which is output by aiming at the Kth round of inquiry sentence, generating a replying sentence which aims at the Kth round of inquiry sentence. When the embodiment of the invention is implemented, accuracy for generating dialogue can be improved.

Description

technical field [0001] The present invention relates to the field of voice processing, in particular to a dialog generation method and device. Background technique [0002] In recent years, the way of human-computer interaction is changing rapidly. As a new interaction mode, dialogue robot is attracting more and more people's attention. However, how to improve the relevance of automatically generated reply sentences in multiple rounds of dialogue, how to reduce the generation probability of high-frequency answers, and generate high-quality dialogues have always been the focus of research in the field of natural language processing. Among them, the dialogue system is a natural language An important application direction of processing. [0003] In the prior art solution, the dialogue system may include a rule-based dialogue system, a search-based dialogue system or a generative dialogue system. Among them, the rule-based dialogue system has a simple structure and high accura...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30G06F17/27
CPCG06N3/084G06F16/3329G06F16/3344G06F16/3347G06F40/35G06F40/56G06N3/044G06N3/045G06F40/30
Inventor 舒悦林芬路彦雄
Owner TENCENT TECH (SHENZHEN) CO LTD