Summarizing source code with transferred API knowledge

Code summarization, aiming to generate succinct natural language description of source code, is extremely useful for code search and code comprehension. It has played an important role in software maintenance and evolution. Previous approaches generate summaries by retrieving summaries from similar...

全面介紹

Saved in:
書目詳細資料
Main Authors: HU, Xing, LI, Ge, XIA, Xin, LO, David, LU, Shuai, JIN, Zhi
格式: text
語言:English
出版: Institutional Knowledge at Singapore Management University 2018
主題:
在線閱讀:https://ink.library.smu.edu.sg/sis_research/4295
https://ink.library.smu.edu.sg/context/sis_research/article/5298/viewcontent/Ijcai_2018_314_pvoa.pdf
標簽: 添加標簽
沒有標簽, 成為第一個標記此記錄!
實物特徵
總結:Code summarization, aiming to generate succinct natural language description of source code, is extremely useful for code search and code comprehension. It has played an important role in software maintenance and evolution. Previous approaches generate summaries by retrieving summaries from similar code snippets. However, these approaches heavily rely on whether similar code snippets can be retrieved, how similar the snippets are, and fail to capture the API knowledge in the source code, which carries vital information about the functionality of the source code. In this paper, we propose a novel 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 Java projects indicate that our approach is effective and outperforms the state-of-the-art in code summarization.