arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2011.04241cs.CL
收藏

指向Source Code中生成函数名的子字

Pointing to Subwords for Generating Function Names in Source Code

Tokyo Institute of Technology(东京工业大学);National Institute of Advanced Industrial Science and Technology (AIST)(产业技术综合研究所(AIST))

Shogo Fujita, Hidetaka Kamigaito, Hiroya Takamura, Manabu Okumura

摘要:

我们解决了从源代码自动生成函数名的任务。现有的生成器在生成低频或词汇表外的子词方面面临困难。在本文中,我们提出了两种策略,用于复制输入中的低频或词汇表外的子词。我们表现最好的模型在我们修改的F1和Java小型和Java大型数据集的准确性方面比传统方法有所改进。

英文摘要:

We tackle the task of automatically generating a function name from source code. Existing generators face difficulties in generating low-frequency or out-of-vocabulary subwords. In this paper, we propose two strategies for copying low-frequency or out-of-vocabulary subwords in inputs. Our best performing model showed an improvement over the conventional method in terms of our modified F1 and accuracy on the Java-small and Java-large datasets.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑