Method and device for matching between questions and answers

A matching method and matching value technology, which is applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of long time consumption and low accuracy

Active Publication Date: 2017-05-10
CAPITAL NORMAL UNIVERSITY
View PDF7 Cites 39 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the purpose of the present invention is to provide a question-answer matching method and device to...

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
  • Method and device for matching between questions and answers
  • Method and device for matching between questions and answers
  • Method and device for matching between questions and answers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] see figure 1 A flowchart of a question-answer matching method is shown, including the following steps:

[0034] Step S102, extracting keywords in the input question text; the input question text is the question text input by the user through human-computer interaction; when the user uses voice input, the user's voice question needs to be converted into text , and then use the literal text as the input question text;

[0035] Step S104, according to keywords, use index filtering to determine the target matching question text from the pre-established question bank; the target matching question text includes multiple texts, the purpose is to narrow down the question bank in advance and the user's input question. The preset text range that matches the sentence text is conducive to improving the subsequent question-and-answer matching speed;

[0036] Step S106, based on the Lewenstein distance algorithm, determine the best matching question text from the target matching qu...

Embodiment 2

[0071] For the question-answer matching method provided in Embodiment 1, this embodiment of the present invention provides a question-answer matching device, see Figure 4 As shown, the device includes the following modules:

[0072] Extraction module 402, is used for extracting the keyword in input question sentence text;

[0073] The first determination module 404 is used to determine the target matching question sentence text from the pre-established question bank by means of index filtering according to keywords;

[0074] The second determination module 406 is used to determine the best matching question text with the highest similarity with the input question text from the target matching question text based on the Lewenstein distance algorithm;

[0075] The answer output module 408 is configured to output the answer text corresponding to the input question text according to the best matching question text.

[0076] In the above-mentioned device of the present embodimen...

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 invention provides a method and a device for matching between questions and answers and relates to the technical field of intelligent questions and answers. The method for matching between questions and answers include extracting keywords input into a question text, determining a target matching question text from a pre-built question base by an index filtering method according to the keywords, determining the optimum matching question text with highest similarity with the input question text from the target matching question text on the basis of the Levenshtein distance algorithm, and outputting an answer text corresponding to the input question text according to the optimum matching question text. By the method and the device, answers matched with questions can be outputted and inputted within a short time, thus, time for matching between the question and the answer can be shortened while matching accuracy can be improved.

Description

technical field [0001] The invention relates to the technical field of intelligent question answering, in particular to a question answer matching method and device. Background technique [0002] With the development of science and technology, convenient and fast question answering systems are gradually appearing in people's daily life. The question answering system can automatically give corresponding answers according to users' questions, and then realize human-computer interaction. [0003] The essence of the question answering system is to find the question text that matches the user's question in the existing "question-answer" set, and present the corresponding answer to the user. The core idea of ​​the system is to calculate the similarity between the questions raised by the user and the questions recorded in the question bank. Most of the existing question answering systems use the TF-IDF question similarity calculation method based on the spatial model. However, in ...

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
IPC IPC(8): G06F17/30G06K9/62
CPCG06F16/3329G06F18/22
Inventor 周建设袁家政刘宏哲刘琴史金生刘杰
Owner CAPITAL NORMAL UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products