Scholay

学术搜索 · AI 审稿 · LaTeX 协作

Classifying Code Comments via Pre-trained Programming Language Model

作者:Ying Li, Haibo Wang, Huaien Zhang, Shin Hwei Tan · 年份:2023 · DOI:10.1109/nlbse59153.2023.00013 · 被引用次数:5 · 研究领域:Software Engineering Research、Text Readability and Simplification、Software Reliability and Analysis Research

Previous studies have categorized code comments for various programming languages to produce high-quality code comments that can improve code readability and benefit maintenance. However, it still requires more effort to identify the main information contained in code comments. Pre-trained language model has shown promising results for solving software engineering tasks. In this paper, we propose a model for code comment classified using the recent pre-trained language model specialized for code-specific tasks (i.e., CodeT5). We introduce expert-predefined features to enhance the model's classification performance. Our evaluation on the official dataset shows that it outperforms the baseline by improving the precision (+65.9 %), recall (+147.3%) and the Fl-score (+112.5%) of the classification.