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

Lecture-based and website-based api information retrieval methods for natural language forms

A natural language and API-KI technology, applied in the field of information retrieval, can solve problems such as irrelevant results returned, loss of useful information, and failure to dig deep into the semantic layer of questions

Active Publication Date: 2019-11-12
GUANGDONG UNIV OF PETROCHEMICAL TECH
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Not only is the retrieval method inefficient, but processing the two types of data separately may return irrelevant results
[0009] (2) The existing methods do not dig deep into the information of the semantic layer of the question, and the method based on keyword matching is likely to cause the loss of a large amount of useful information, which eventually leads to the loss of retrieval accuracy
Especially in the form of natural language, the question may not directly contain the API name, and the method of directly calculating the keyword correlation between the question and the document, such as VSM, can only use very little text information
[0010] (3) Existing methods cannot build a library that includes both API handouts and Q&A posts on Stack Overflow
Existing methods cannot integrate information, can only judge the correlation between a single data source and API, construct a single knowledge item database, and cannot provide more comprehensive and accurate information recommendations for APIs

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
  • Lecture-based and website-based api information retrieval methods for natural language forms
  • Lecture-based and website-based api information retrieval methods for natural language forms
  • Lecture-based and website-based api information retrieval methods for natural language forms

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0076] In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0077] Existing methods cannot simultaneously provide developers with API-related information retrieval on two kinds of materials. Not only is the retrieval method inefficient, but processing the two types of data separately may result in irrelevant results being returned.

[0078] In prior art retrieval, the Q&A posts and APIs returned by SO need to be further screened manually.

[0079] In order to solve the above technical problems, the present invention will be described in detail below in conjunction with specific solutions.

[0080] Such as figure 1 As shown, the API-related information retrieval method ...

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 belongs to the field of information retrieval, and discloses an API information retrieval method for natural language form and based on lecture notes and Stack Overflow. The method comprises: constructing an API-KI library of API and knowledge items and performing extraction, the API-KI library comprising API and lecture segment API-segment pairs, API and question and answer sheet API-Q&A pairs; analyzing the questions in the natural language form, and obtaining potential APIs corresponding to the questions; identifying related API-KI using a relative identification mode TDML; performing potential APIs with related API-KI pair to generate a candidate list, carrying out descending sorting on the candidate list according to a sorting strategy, and finally returning the sorted API-KI list as a question answer. According to the retrieval method provided by the invention, information of API lecture and SO is integrated, the retrieval precision is effectively improved, and moreuseful API related knowledge can be provided for developers.

Description

technical field [0001] The invention belongs to the field of information retrieval, and in particular relates to a natural language-oriented API information retrieval method based on handouts and StackOverflow. Background technique [0002] At present, the existing technologies commonly used in the industry are as follows: [0003] Most of the existing methods are based on full-text search, such as using the VSM-based Lucene full-text search engine package to search and match keywords directly in the document library based on natural language questions, and using the neural network-based Word2Vec word vector model can be very good The contextual relationship between words is mined, so the question and the document can be represented by word vectors, and then the results can be returned according to the similarity between the two. In addition, the CK method uses the conceptual knowledge of the software field in the source code to recommend API-related documents by extracting...

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/33G06N3/08
Inventor 荆晓远吴迪黄鹤谢宇姚永芳訾璐李云鹤
Owner GUANGDONG UNIV OF PETROCHEMICAL TECH
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