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

A template-based software defect automatic question and answer method

An automatic question answering and software defect technology, applied in natural language data processing, special data processing applications, instruments, etc., can solve problems such as low correlation, time-consuming and labor-intensive, satisfactory answers, etc., to reduce search space, enhance Feasibility, the effect of enhancing accuracy

Active Publication Date: 2019-06-28
YANGZHOU UNIV
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, search engines generally express retrieval requirements with the combination logic of keywords, and users’ retrieval requirements are often complex and special. Search engines cannot understand user intentions in detail and accurately, and naturally cannot retrieve answers that satisfy users.
Moreover, most of these software defect databases use traditional relational database-based search methods. Although the search results contain a large amount of information and attributes of software defects, these information and attributes are often not very relevant to the problems you want to know. , cannot help itself well to fix new software bugs
In addition, the search method of software defect information in search engines and software defect databases is to directly use keyword matching technology, which has a large search space and is very time-consuming, and the search results obtained only by keyword retrieval are not accurate.
This question-and-answer method makes it difficult for searchers to find the information they really need, which is time-consuming and labor-intensive.

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 template-based software defect automatic question and answer method
  • A template-based software defect automatic question and answer method
  • A template-based software defect automatic question and answer method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0055] to combine figure 1 , the template-based software defect automatic question answering method of the present invention comprises the following contents:

[0056] (1) combination figure 2 In this embodiment, taking the bug report of bug 59908 as an example, the BugID, Product, Component, Reported, Modified, Assignee, Reporter, QA Contact, Summary and Description information in the bug report are extracted to obtain the text corpus D. Take two of the sentences in the text corpus D as an example: Hixiereported the bug 59908, Hixie confirmed the bug 59908, replace the entity in the sentence with the entity type, and generate the corresponding natural language model as follows:

[0057] reported the 、 confirmed the .

[0058] (2) In this embodiment, construct a pattern tripartite graph consisting of the supporting instance set I, the natural language pattern set S and the predicate set R, such as image 3 shown.

[0059] (3) Obtain the query template correspondi...

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 template-based software defect automatic question and answer method, and belongs to the field of software maintenance, and the method comprises the steps: firstly, extractingan entity relationship triple from a bug corpus, and obtaining a natural language mode; Then determining an entity relationship in the triple; Acquiring a query template corresponding to the naturallanguage mode; Replacing an entity in the question q proposed by the user with an entity type to obtain a question q '; Comparing and searching the entity type in the q'with the entity type in the natural language mode, and calculating the similarity; Obtaining an SPARQL query mode of the question q according to the similarity and the entity in the question q; And finally, searching and executingthe SPARQL query mode of the question q on the entity relation graph constructed by the bug report, thereby obtaining the answer of the question q. According to the method, natural language semantic understanding is carried out through the template, the understanding effect is good, template matching is carried out based on the entity type, the search space is greatly reduced, and the efficiency of software defect automatic question answering is improved.

Description

technical field [0001] The invention belongs to the field of software maintenance, in particular to a template-based automatic question answering method for software defects. Background technique [0002] In order to solve some new software defects they encounter, software developers and maintainers usually need to use search engines and software defect libraries to answer questions about software defect-related information. However, search engines generally express retrieval needs with the combination logic of keywords, and users’ retrieval needs are often complex and special. Search engines cannot understand user intentions in detail and accurately, and naturally cannot retrieve answers that satisfy users. Moreover, most of these software defect databases use traditional relational database-based search methods. Although the search results contain a large amount of information and attributes of software defects, these information and attributes are often not very relevant ...

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): G06F16/332G06F17/27
CPCG06F16/332G06F40/295G06F40/30G06F11/366Y02D10/00G06F16/3329G06F16/3344
Inventor 孙小兵陆金婷李斌
Owner YANGZHOU UNIV
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