Lune

AAAI2020顶会

Associating Natural Language Comment and Source Code Entities

Sheena Panthaplackel, Milos Gligoric, Raymond J. Mooney, Junyi Jessy Li

2020年份
21被引次数
5顶会引用

摘要

Comments are an integral part of software development; they are natural language descriptions associated with source code elements. Understanding explicit associations can be useful in improving code comprehensibility and maintaining the consistency between code and comments. As an initial step towards this larger goal, we address the task of associating entities in Javadoc comments with elements in Java source code. We propose an approach for automatically extracting supervised data using revision histories of open source projects and present a manually annotated evaluation dataset for this task. We develop a binary classifier and a sequence labeling model by crafting a rich feature set which encompasses various aspects of code, comments, and the relationships between them. Experiments show that our systems outperform several baselines learning from the proposed supervision. / * * * Check the beanFactory to see whether the bean * named beanName already exists. Accounts for * the fact that the requested bean may be "in * creation", i.e.: we're in the middle of servicing * the initial request for this bean. From JavaConfig's * perspective, this means that the bean does not * actually yet exist, and that it is now our job to * create it for the first time by executing the logic * in the corresponding Bean method. Said another * way, this check repurposes * ConfigurableBeanFactory#isCurrentlyInCreation * to determine whether the container is calling this * method or the user is calling this method. * @param beanName name of bean to check for * @return true if beanName already exists in * the factory * / boolean factoryContainsBean(String beanName)

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

引用它的顶会 Paper5

问问它们各自怎么用它

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖