TL;DR本文提出两种策略以解决代码中低频率或字典外的子单词的自动生成问题,并在 Java 编程中的数据集上提高了 F1 分数和准确度。
Abstract
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.