Proceedings of the 2019 ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation 2019
DOI: 10.1145/3294032.3294079
|View full text |Cite
|
Sign up to set email alerts
|

Method name suggestion with hierarchical attention networks

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

0
15
0

Year Published

2020
2020
2024
2024

Publication Types

Select...
4
3
1

Relationship

0
8

Authors

Journals

citations
Cited by 27 publications
(18 citation statements)
references
References 37 publications
0
15
0
Order By: Relevance
“…Allamanis et al [3] used logbilinear neural language models supplemented by additional manual features to predict Java method and class names. Java method names have also been treated as short, descriptive "summaries" of its body; in this view, prior work has augmented attention mechanisms in convolutional networks [5], used sequence-to-sequence models to learn from descriptions (e.g., Javadoc comments) [27], and utilized the tree-structure of the code in a hierarchical attention network [74]. Unlike Java syntax trees, Coq syntax and kernel trees contain considerable semantic information useful for naming.…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…Allamanis et al [3] used logbilinear neural language models supplemented by additional manual features to predict Java method and class names. Java method names have also been treated as short, descriptive "summaries" of its body; in this view, prior work has augmented attention mechanisms in convolutional networks [5], used sequence-to-sequence models to learn from descriptions (e.g., Javadoc comments) [27], and utilized the tree-structure of the code in a hierarchical attention network [74]. Unlike Java syntax trees, Coq syntax and kernel trees contain considerable semantic information useful for naming.…”
Section: Related Workmentioning
confidence: 99%
“…However, serious challenges are posed by, on the one hand, Coq's powerful language extension facilities and fusion of type checking and computation [12], and on the other hand, the idiosyncratic conventions used by Coq practitioners compared to software engineers. Hence, although suggesting lemma names is similar in spirit to suggesting method names in Java-like languages [74], the former task is more challenging in that lemma names are typically much shorter than method names and tend to include heavily abbreviated terminology from logic and advanced mathematics; a single character can carry significant information about a lemma's meaning. For example, the MathComp lemma names card support normedTI ("cardinality of support groups of a normed trivial intersection group") and extprod mulgA ("associativity of multiplication operations in external product groups") concisely convey information on lemma statement structure and meaning through both abbreviations and suffixes, as when the suffix A indicates an associative property.…”
Section: Introductionmentioning
confidence: 99%
“…For the code suggestion area, other research works focuses on a specific types of code tokens. [49] suggested method name based on Hierachical Attention Networks, and [5] suggested method name and class name. In our work, we intend to generate all types of tokens based on writing the abbreviations or prefixes.…”
Section: Related Workmentioning
confidence: 99%
“…In this paper, we proposed several extensions to code2seq. Xu et al (2019) used a hierarchical attention network for function name generation. In this model, the important information of the lower layer is passed to the upper layer by a recursive network.…”
Section: Outputs Of Each Modelmentioning
confidence: 99%