Supercharge Your Innovation With Domain-Expert AI Agents!

A method and device for automatically generating question templates

A technology for automatically generating and questioning sentences, applied to instruments, text database queries, calculations, etc., can solve the problems of template quality evaluation, cumbersome coverage, maintainability, and poor self-learning when templates are not involved in automatic generation

Active Publication Date: 2021-06-15
ZHONGAN INFORMATION TECH SERVICES CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The generation of traditional question templates requires manual template setting for specific sentence patterns, which is not only cumbersome but also poor in coverage; when the knowledge base is updated, it is also necessary to manually set new templates for question templates that cannot be covered in the template library Poor with evaluation, maintainability and self-learning
In the relevant patents disclosed so far, no corresponding improvement technical solutions have been found for the above technical problems. For example, the invention application 201611076382.1 ("A Method and Device for Automatic Question-Answer Template Matching"), by determining the templates corresponding to each participle of the question to be answered A subset of the question set to get the matching questions of the questions to be answered, which improves the template matching efficiency and accuracy of the automatic question answering system, but does not involve the automatic generation of templates and the quality assessment of generated templates

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 device for automatically generating question templates
  • A method and device for automatically generating question templates
  • A method and device for automatically generating question templates

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] figure 1 This is a flow chart of the method for automatically generating a question sentence template provided by the embodiment of the present invention. like figure 1 As shown, the method for automatically generating question template provided by the embodiment of the present invention includes the following steps:

[0062] 101. Prepare the question log corpus.

[0063] Specifically, the question log corpus is obtained, and the question log corpus is preprocessed, including but not limited to punctuation removal, illegal symbol removal, and word case conversion.

[0064] 102. Perform word segmentation and part-of-speech tagging on the log corpus.

[0065] Specifically, the log corpus is word-segmented in combination with the word-segmentation method of the industry dictionary. Different types of industry dictionaries can be created according to different needs or industries. Especially when specific vertical industries are involved, using the word segmentation met...

Embodiment 2

[0074] figure 2 This is a flow chart of the method for automatically generating a question sentence template provided in Embodiment 2 of the present invention. like figure 2 As shown, the method for automatically generating question template provided by the embodiment of the present invention includes the following steps:

[0075] 201. Obtain the question log corpus, and preprocess the question log corpus, including but not limited to punctuation removal, illegal symbol removal, and word case conversion.

[0076] It should be noted that any possible acquisition method in the prior art can be used for the acquisition method of the log corpus of the question sentence, which is not particularly limited in the embodiment of the present invention; the process or method of realizing the log corpus preprocessing is not limited to the above-mentioned content, Any possible technical means or manner in the prior art may be adopted, which will not be repeated here.

[0077] 202. Per...

Embodiment 3

[0105] image 3 It is a schematic structural diagram of the apparatus for automatically generating question template provided in Embodiment 3 of the present invention. like image 3 As shown, the device for automatically generating question template provided by the embodiment of the present invention includes:

[0106] Preparation module 1 is used to prepare the question log corpus. Specifically, the preparation module 1 includes an acquisition module and a preprocessing module. The acquisition module is used to acquire the question log corpus, and the preprocessing module is used to preprocess the question log corpus, including label symbol removal and illegal symbol removal. , word case conversion.

[0107] Word segmentation and part-of-speech tagging module 2, used for word segmentation and part-of-speech tagging. Specifically, different types of industry dictionaries can be created according to different needs or industries. Especially when specific vertical industries...

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 discloses a method and a device for automatically generating question sentence templates, belonging to the technical field of intelligent question answering. The method includes: preparing question log corpus; performing word segmentation and part-of-speech tagging on the log corpus; performing named entity recognition and replacement; performing semantic replacement; performing frequent itemset mining to generate question templates. The method and device not only improve the efficiency of question sentence template generation, save a lot of human resources, but also can evaluate the generated question sentence templates, independently and continuously expand the question sentence template library, and improve the quality of the knowledge base of the intelligent question answering system.

Description

technical field [0001] The present invention relates to the technical field of intelligent question answering, in particular to a method and device for automatically generating question template. Background technique [0002] At present, more and more enterprises will undertake a large number of after-sales service or pre-sales consulting work for users. Due to the exponential growth of the number of users, it will consume a lot of human resources to answer all user inquiries in a manual way, and many knowledge points are relatively concentrated, and manual responses often involve a lot of repetitive work, so the intelligent question answering system came into being. The system can automatically answer the questions entered by the user, and the efficiency has been greatly improved. [0003] The technical principles of the intelligent question answering system are based on question template matching and knowledge base retrieval. Among them, the question template matching te...

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/332G06F16/33G06F16/36G06F16/35
CPCG06F16/3329G06F16/3334G06F16/35G06F16/367
Inventor 邹辉
Owner ZHONGAN INFORMATION TECH SERVICES CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More