Decision-based code annotation generation method fusing information retrieval and deep learning
An information retrieval and deep learning technology, applied in the computer field, can solve problems such as difficulty in covering low-frequency words, achieve the effect of easy development and maintenance, and improve the efficiency of code understanding
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] see figure 1 , figure 2 As shown, the present invention provides a code annotation generation method based on decision-making fusion information retrieval and deep learning, which specifically includes the following contents:
[0036] (1) Collect two large-scale corpora PCSD (Python code annotation data set) and JCSD (Java code annotation data set) as experimental objects, both of which are pairs mined from GitHub, and further divided The specific statistical information (such as the number of code segments, the average number of tokens in the code and the average number of tokens in the comments) is shown in Table 1.
[0037] Table 1
[0038]
[0039] (2) Build a model based on information retrieval, and find the most similar code segment c in the training set for the target code segment c by integrating semantic, lexical and grammatical similarities sim , and then, by reusing the comment of the most similar code segment as the comment of the targ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com