Publication Type
Conference Proceeding Article
Version
publishedVersion
Publication Date
7-2018
Abstract
Code summarization, aiming to generate succinctnatural language description of source code, is extremely useful for code search and code comprehension. It has played an important role in softwaremaintenance and evolution. Previous approachesgenerate summaries by retrieving summaries fromsimilar code snippets. However, these approachesheavily rely on whether similar code snippets canbe retrieved, how similar the snippets are, and failto capture the API knowledge in the source code,which carries vital information about the functionality of the source code. In this paper, we propose anovel approach, named TL-CodeSum, which successfully uses API knowledge learned in a different but related task to code summarization. Experiments on large-scale real-world industry Javaprojects indicate that our approach is effective andoutperforms the state-of-the-art in code summarization.
Discipline
Software Engineering
Research Areas
Data Science and Engineering
Publication
Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelli-gence (IJCAI 2018), Stockholm, Sweden, 2018 July 13-19
First Page
2269
Last Page
2275
Identifier
10.24963/ijcai.2018/314
City or Country
Stockholm, Sweden
Citation
HU, Xing; LI, Ge; XIA, Xin; LO, David; LU, Shuai; and JIN, Zhi.
Summarizing source code with transferred API knowledge. (2018). Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelli-gence (IJCAI 2018), Stockholm, Sweden, 2018 July 13-19. 2269-2275.
Available at: https://ink.library.smu.edu.sg/sis_research/4295
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-No Derivative Works 4.0 International License.
Additional URL
https://doi.org/10.24963/ijcai.2018/314