扫描手机二维码

欢迎您的访问
您是第 位访客

开通时间:..

最后更新时间:..

  • 周宇 ( 教授 )

    的个人主页 http://faculty.nuaa.edu.cn/zhouyu/zh_CN/index.htm

  •   教授   博士生导师
  • 招生学科专业:
    计算机科学与技术 -- 【招收硕士研究生】 -- 计算机科学与技术学院
    软件工程 -- 【招收博士、硕士研究生】 -- 计算机科学与技术学院
    网络空间安全 -- 【招收硕士研究生】 -- 计算机科学与技术学院
    电子信息 -- 【招收博士、硕士研究生】 -- 计算机科学与技术学院
论文成果 当前位置: 中文主页 >> 科学研究 >> 论文成果
Augmenting Java method comments generation with context information based on neural networks

点击次数:
所属单位:计算机科学与技术学院/人工智能学院/软件学院
发表刊物:J Syst Software
摘要:Code comments are crucial to program comprehension. In this paper, we propose a novel approach ContextCC to automatically generate concise comments for Java methods based on neural networks, leveraging techniques of program analysis and natural language processing. Firstly, ContextCC employs program analysis techniques, especially abstract syntax tree parsing, to extract context information including methods and their dependency. Secondly, it filters code and comments out of the context information to build up a high-quality data set based on a set of pre-defined templates and rules. Finally, ContextCC trains a code comment generation model based on recurrent neural networks. Experiments are conducted on Java projects crawled from GitHub. We show empirically that the performance of ContextCC is superior to state-of-the-art baseline methods. © 2019 Elsevier Inc.
ISSN号:0164-1212
是否译文:否
发表时间:2019-10-01
合写作者:Yan, Xin,邢岩,杨文华,Chen, Taolue,黄志球
通讯作者:周宇

 

版权所有©2018- 南京航空航天大学·信息化处(信息化技术中心)