计算机科学 > 计算与语言
[提交于 2017年4月17日]
标题:A Neural Architecture for Generating Natural Language Descriptions from Source Code Changes
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We propose a model to automatically describe changes introduced in the source code of a program using natural language. Our method receives as input a set of code commits, which contains both the modifications and message introduced by an user. These two modalities are used to train an encoder-decoder architecture. We evaluated our approach on twelve real world open source projects from four different programming languages. Quantitative and qualitative results showed that the proposed approach can generate feasible and semantically sound descriptions not only in standard in-project settings, but also in a cross-project setting.
提交历史
来自:Pablo Loyola[v1] 2017年4月17日 星期一 03:20:07 UTC