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.
CITATION STYLE
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
Mendeley helps you to discover research relevant for your work.