Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Question-answer matching method and device

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

Active Publication Date: 2019-03-26
CAPITAL NORMAL UNIVERSITY
View PDF7 Cites 0 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 alleviate the problems of low accuracy and long time-consuming existing in the question-answer matching method in the prior art

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
  • Question-answer matching method and device
  • Question-answer matching method and device
  • Question-answer matching method and device

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 present invention provides a question-answer matching method and device, relating to the technical field of intelligent question-answer, including a question-answer matching method, including: extracting keywords in the input question text; Determine the target matching question text in the question bank; based on the Lewenstein distance algorithm, determine the best matching question text with the highest similarity with the input question text from the target matching question text; according to the best matching question text, Output the answer text corresponding to the input question text. The invention can output answers corresponding to the input question sentences in a relatively short time, which can not only shorten the question-answer matching time, but also improve the accuracy rate.

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