Question sentence template automatic generation method and apparatus

An automatic generation and question sentence technology, applied in special data processing applications, instruments, unstructured text data retrieval, etc., can solve the problem of poor maintainability and self-learning, not involving automatic template generation Coverage and other issues to increase generalization ability, ensure completeness, and achieve the effect of answer matching

Active Publication Date: 2018-05-15
ZHONGAN INFORMATION TECH SERVICES CO LTD
View PDF4 Cites 30 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. F

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 sentence template automatic generation method and apparatus
  • Question sentence template automatic generation method and apparatus
  • Question sentence template automatic generation method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] figure 1 It is a flow chart of the method for automatically generating question sentence templates provided by the embodiment of the present invention. Such as figure 1 As shown, the question template automatic generation method that the embodiment of the present invention provides, comprises the following steps:

[0062] 101. Prepare 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, word case conversion, and the like.

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

[0065] Specifically, the log corpus is segmented in combination with the word segmentation method of the industry dictionary. According to different needs or industries, different types of industry dictionaries can be created. Especially when it comes to specific vertical industries, using the word segmentation method...

Embodiment 2

[0074] figure 2 It is a flow chart of the method for automatically generating question sentence templates provided by Embodiment 2 of the present invention. Such as figure 2 As shown, the question template automatic generation method that the embodiment of the present invention provides, comprises the following steps:

[0075] 201. Obtain question log corpus, and perform preprocessing on the question log corpus, including but not limited to removing punctuation marks, removing illegal symbols, and converting word case.

[0076] It should be noted that the acquisition method of the question log corpus here can adopt any possible acquisition method in the prior art, which is not particularly limited in the embodiment of the present invention; the process or method of realizing the preprocessing of the log corpus is not limited to the above content, either. Any possible technical means or manners in the prior art may be adopted, which will not be described here one by one.

...

Embodiment 3

[0105] image 3 It is a structural schematic diagram of the device for automatically generating question templates provided by Embodiment 3 of the present invention. Such as image 3 As shown, the question template automatic generating device that the embodiment of the present invention provides, comprises:

[0106] Preparation module 1 is used to prepare question log corpus. Specifically, the preparation module 1 includes an acquisition module and a preprocessing module, the acquisition module is used to obtain the question log corpus, and the preprocessing module is used to preprocess the question log corpus, including label symbol removal, 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, according to different needs or industries, different types of industry dictionaries can be created, especially when it comes to specific vertical industrie...

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 question sentence template automatic generation method and apparatus, and belongs to the technical field of intelligent question and answer. The method comprises the steps ofpreparing question sentence log corpora; performing word segmentation and part-of-speech tagging on the log corpora; performing named entity identification and replacement; performing semantic replacement; and performing frequent item set mining, and generating a question sentence template. According to the method and the apparatus, the question sentence template generation efficiency is improved; a large amount of labor resources are saved; the generated question sentence template can be assessed; a question sentence template library is autonomously and continuously expanded; and the qualityof a knowledge base of an intelligent question and answer system is improved.

Description

technical field [0001] The invention relates to the technical field of intelligent question answering, in particular to a method and device for automatically generating question sentence templates. Background technique [0002] At present, more and more companies 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 completely manually, 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, intelligent question answering 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...

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/30
CPCG06F16/3329G06F16/3334G06F16/35G06F16/367
Inventor 邹辉
Owner ZHONGAN INFORMATION TECH SERVICES CO LTD
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