mlsanityData to 14 Oct 2026

Automatic Generation of Text Descriptive Comments for Code Blocks

arXiv 1808.06880 ↗First posted 21 Aug 2018cs.AI cs.CLcited by 18

Not on the map. Why?

Abstract (arXiv)

We propose a framework to automatically generate descriptive comments for source code blocks. While this problem has been studied by many researchers previously, their methods are mostly based on fixed template and achieves poor results. Our framework does not rely on any template, but makes use of a new recursive neural network called Code-RNN to extract features from the source code and embed them into one vector. When this vector representation is input to a new recurrent neural network (Code-GRU), the overall framework generates text descriptions of the code with accuracy (Rouge-2 value) significantly higher than other learning-based approaches such as sequence-to-sequence model. The Code-RNN model can also be used in other scenario where the representation of code is required.

Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). First posted on arXiv 21 Aug 2018.

Builds on

No reference list yet.

Built on by

Cited by year

Citing papers per year: 2021: 6; 2022: 4; 2023: 8.

18 papers.

Sort:

By area: