Code annotation generation method based on multiple source code representation and recurrent neural network
A recurrent neural network and source code technology, applied in the field of code comment generation, can solve the problems of low efficiency and high comment cost
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0038] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, the following will be described in detail with reference to the accompanying drawings and specific embodiments.
[0039] like figure 1 As shown, the present invention provides a code annotation generation method based on multiple source code representation and cyclic neural network, which is mainly used to help users generate code annotations, including the following steps:
[0040] S1. Collect Java code annotation pairs to build a corpus;
[0041] S2. In the serialization processing layer, the source code in the corpus is converted into token sequence, SBT sequence and API sequence;
[0042] S3. In the encoder layer, the bidirectional GRU is used as the encoder, and the codeseq encoder, the SBTseq encoder and the APIseq encoder are respectively constructed for the three sequences, and the information of different levels of the source...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com