A code annotation generation method based on program analysis and a recurrent neural network
A technology of cyclic neural network and program analysis, which is applied in the field of automatic generation of code comments, can solve problems such as poor comprehensibility, increased maintenance costs, and poor program readability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0025] In order to facilitate the understanding of those skilled in the art, the present invention will be further described below in conjunction with the embodiments and accompanying drawings, and the contents mentioned in the embodiments are not intended to limit the present invention.
[0026] refer to figure 1 As shown, a method for generating code comments based on program analysis and cyclic neural network of the present invention includes the following content:
[0027] (1) Construction of the code base
[0028] The training of the neural network model is data-driven, and the ultimate goal of the present invention is to train a neural network-based code comment generation model, so it is necessary to build a large-scale code library to meet the needs of model training. Download 6705 Java projects from the open source community GitHub to build the code base. The Java project is parsed by using the abstract syntax tree, and Java methods are extracted therefrom, and the ...
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