Pointing to Subwords for Generating Function Names in Source Code

0Citations
Citations of this article
57Readers
Mendeley users who have this article in their library.

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. 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.

Cite

CITATION STYLE

APA

Fujita, S., Kamigaito, H., Takamura, H., & Okumura, M. (2020). Pointing to Subwords for Generating Function Names in Source Code. In COLING 2020 - 28th International Conference on Computational Linguistics, Proceedings of the Conference (pp. 316–327). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2020.coling-main.28

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free