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

A method and an apparatus for generating a question-answer pair

A question-and-answer and model-generating technology, applied in the field of information retrieval, can solve problems that are difficult to solve, data authority is not good, colloquialism, etc., and achieve the effect of reducing reading costs

Active Publication Date: 2018-12-07
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The limitation of this method is that the data of the question-and-answer station has serious problems such as poor authority and colloquialism.
[0005] Moreover, when the question is generated, the question is generated by transforming rules or templates. These artificially summarized rules or templates often have a low recall rate and are difficult to solve the problem.

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
  • A method and an apparatus for generating a question-answer pair
  • A method and an apparatus for generating a question-answer pair
  • A method and an apparatus for generating a question-answer pair

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] In the following, only some exemplary embodiments are briefly described. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. Accordingly, the drawings and descriptions are to be regarded as illustrative in nature and not restrictive.

[0070] figure 1 A flowchart showing a method for generating question-answer pairs according to an embodiment of the present invention. Such as figure 1 As shown, the question-answer pair generation method may include the following steps:

[0071] Step 101, input the query text into the question generation model to obtain a question list, the question list includes a plurality of questions related to the query text;

[0072] Step 102, determine the corresponding answer segment according to each question in the question list;

[0073] Step 103, inputting each question and its corresponding answer fragment...

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

A method and an apparatus for generating a question-answer pair are provided in an embodiment of that present invention. The method comprises the following steps: inputting a query text into a problemgeneration model to obtain a problem list, wherein the problem list includes a plurality of problems related to the query text; determining corresponding answer segments according to each question inthe question list; inputting each question and its corresponding answer fragment to the matching model for correlation judgment; generating each question and answer pair according to the correlationjudgment result. The question answering process of the embodiment of the invention does not depend on the question answering website, but is directly obtained from various inquiry texts. Therefore, the mining process can be offline, an online search engine can be supported in an offline manner, and pressure will not brought to an online system.

Description

technical field [0001] The invention relates to the technical field of information retrieval, in particular to a method and device for generating question-answer pairs. Background technique [0002] Traditional search engines obtain relevant text or fragments through keyword retrieval, and users need to click on the search link to find the correct answer fragment. In order to find what the user wants more intuitively, there are two common methods. [0003] An online way: segment and sort the retrieved text, find and return the most relevant answer segment to the question. The limitation of this method is that if the current search results are not good, it is impossible to find the required answer or it is difficult to find an authoritative answer, and the online feature extraction and sorting put pressure on online performance, and a large amount of manually labeled data training is required. Model. [0004] Another offline method is to obtain question-answer pair resourc...

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/30
Inventor 孙兴武
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
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