mlsanityData to 7 Oct 2026

Preprocessing Source Code Comments for Linguistic Models

arXiv 2208.11235 ↗First posted 23 Aug 2022cs.SE cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Comments are an important part of the source code and are a primary source of documentation. This has driven interest in using large bodies of comments to train or evaluate tools that consume or produce them -- such as generating oracles or even code from comments, or automatically generating code summaries. Most of this work makes strong assumptions about the structure and quality of comments, such as assuming they consist mostly of proper English sentences. However, we know little about the actual quality of existing comments for these use cases. Comments often contain unique structures and elements that are not seen in other types of text, and filtering or extracting information from them requires some extra care. This paper explores the contents and quality of Python comments drawn from 840 most popular open source projects from GitHub and 8422 projects from SriLab dataset, and the impact of na"ive vs. in-depth filtering can have on the use of existing comments for training and evaluation of systems that generate comments.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 12 of its 51 references that are in the map. First posted on arXiv 23 Aug 2022.

Builds on

12 of 51 references.

References · 12

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  3. 2018A Call for Clarity in Reporting BLEU Scorescited by 1,790
  4. 2020Stanza: A Python Natural Language Processing Toolkit for Many Human Languagescited by 719
  5. 2018The Adverse Effects of Code Duplication in Machine Learning Models of Codecited by 123
  6. 2020Improved Code Summarization via a Graph Neural Networkcited by 79
  7. 2018BLEU is Not Suitable for the Evaluation of Text Simplificationcited by 78
  8. 2019A Neural Model for Generating Natural Language Summaries of Program Subroutinescited by 76
  9. 2019Recommendations for Datasets for Source Code Summarizationcited by 46
  10. 2017Automatically Generating Commit Messages from Diffs using Neural Machine Translationcited by 42
  11. 2017A* CCG Parsing with a Supertag and Dependency Factored Modelcited by 22
  12. 2015Fine-grained Language Composition: A Case Studycited by 1

Built on by

Not cited yet.