arXiv · 2011.04241
Pointing to Subwords for Generating Function Names in Source Code
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.
Explore related subjects
Keep this discovery
Shogo Fujita, Hidetaka Kamigaito, Hiroya Takamura, Manabu Okumura. 2020-11-09. Pointing to Subwords for Generating Function Names in Source Code. https://arxiv.org/abs/2011.04241
Cite the original work for its findings. Save a collection to share your selection of sources.