中文
相关论文

相关论文: Learning to Recommend Method Names with Global Con…

200 篇论文

In software engineering (SE) tasks, the naming approach is so important that it attracts many scholars from all over the world to study how to improve the quality of method names. To accurately recommend method names, we employ a novel…

软件工程 · 计算机科学 2022-01-25 Weidong Wang , Dian Li , Yujian Kang

Proper naming of methods can make program code easier to understand, and thus enhance software maintainability. Yet, developers may use inconsistent names due to poor communication or a lack of familiarity with conventions within the…

软件工程 · 计算机科学 2023-08-25 Kisub Kim , Xin Zhou , Dongsun Kim , Julia Lawall , Kui Liu , Tegawendé F. Bissyandé , Jacques Klein , Jaekwon Lee , David Lo

Comprehensibility of source code is strongly affected by identifier names, therefore software developers need to give good (e.g. meaningful but short) names to identifiers. On the other hand, giving a good name is sometimes a difficult and…

软件工程 · 计算机科学 2019-07-15 Hiroshi Yonai , Yasuhiro Hayase , Hiroyuki Kitagawa

Misleading method names in software projects can confuse developers, which may lead to software defects and affect code understandability. In this paper, we present DeepName, a context-based, deep learning approach to detect method name…

软件工程 · 计算机科学 2021-03-02 Yi Li , Shaohua Wang , Tien N. Nguyen

Method names are crucial to program comprehension and maintenance. Recently, many approaches have been proposed to automatically recommend method names and detect inconsistent names. Despite promising, their results are still sub-optimal…

软件工程 · 计算机科学 2023-03-13 Jie Zhu , Lingwei Li , Li Yang , Xiaoxiao Ma , Chun Zuo

With the prevalence of publicly available source code repositories to train deep neural network models, neural program models can do well in source code analysis tasks such as predicting method names in given programs that cannot be easily…

软件工程 · 计算机科学 2022-07-12 Md Rafiqul Islam Rabin , Nghi D. Q. Bui , Ke Wang , Yijun Yu , Lingxiao Jiang , Mohammad Amin Alipour

High quality method names are descriptive and readable, which are helpful for code development and maintenance. The majority of recent research suggest method names based on the text summarization approach. They take the token sequence and…

软件工程 · 计算机科学 2021-03-23 Fan Ge , Li Kuang

Pre-trained transformer-based models have recently shown great performance when applied to Named Entity Recognition (NER). As the complexity of their self-attention mechanism prevents them from processing long documents at once, these…

计算与语言 · 计算机科学 2024-06-24 Arthur Amalvy , Vincent Labatut , Richard Dufour

Named Entity Recognition systems achieve remarkable performance on domains such as English news. It is natural to ask: What are these models actually learning to achieve this? Are they merely memorizing the names themselves? Or are they…

计算与语言 · 计算机科学 2021-01-05 Oshin Agarwal , Yinfei Yang , Byron C. Wallace , Ani Nenkova

Standard neural machine translation (NMT) is on the assumption of document-level context independent. Most existing document-level NMT methods are satisfied with a smattering sense of brief document-level information, while this work…

计算与语言 · 计算机科学 2021-10-13 Shu Jiang , Hai Zhao , Zuchao Li , Bao-Liang Lu

Compared to sentence-level systems, document-level neural machine translation (NMT) models produce a more consistent output across a document and are able to better resolve ambiguities within the input. There are many works on…

计算与语言 · 计算机科学 2023-06-09 Christian Herold , Hermann Ney

A large-scale evaluation for current naming approaches substantiates that such approaches are accurate. However, it is less known about which categories of method names work well via such naming approaches and how's the performance of…

软件工程 · 计算机科学 2022-01-24 Weidong Wang , Yujian Kang , Dian Li

The Large Language Models (LLMs), such as GPT and BERT, were proposed for natural language processing (NLP) and have shown promising results as general-purpose language models. An increasing number of industry professionals and researchers…

密码学与安全 · 计算机科学 2024-11-14 Zhilong Wang , Lan Zhang , Chen Cao , Nanqing Luo , Xinzhi Luo , Peng Liu

The names of variables and functions serve as implicit documentation and are instrumental for program comprehension. But choosing good meaningful names is hard. We perform a sequence of experiments in which a total of 334 subjects are…

软件工程 · 计算机科学 2021-03-16 Dror G. Feitelson , Ayelet Mizrahi , Nofar Noy , Aviad Ben Shabat , Or Eliyahu , Roy Sheffer

Predicting program properties such as names or expression types has a wide range of applications. It can ease the task of programming and increase programmer productivity. A major challenge when learning from programs is $\textit{how to…

编程语言 · 计算机科学 2018-04-24 Uri Alon , Meital Zilberstein , Omer Levy , Eran Yahav

Standard neural machine translation (NMT) is on the assumption that the document-level context is independent. Most existing document-level NMT approaches are satisfied with a smattering sense of global document-level information, while…

计算与语言 · 计算机科学 2021-08-25 Shu Jiang , Rui Wang , Zuchao Li , Masao Utiyama , Kehai Chen , Eiichiro Sumita , Hai Zhao , Bao-liang Lu

Advances in the use of cognitive and machine learning (ML) enabled systems fuel the quest for novel approaches and tools to support software developers in executing their tasks. First, as software development is a complex and dynamic…

软件工程 · 计算机科学 2021-02-11 Glaucia Melo , Paulo Alencar , Donald Cowan

Research scientists increasingly rely on implementing software to support their research. While previous research has examined the impact of identifier names on program comprehension in traditional programming environments, limited work has…

软件工程 · 计算机科学 2025-07-23 Gunnar Larsen , Carol Wong , Anthony Peruma

Code summaries are brief natural language descriptions of source code pieces. The main purpose of code summarization is to assist developers in understanding code and to reduce documentation workload. In this paper, we design a novel…

计算与语言 · 计算机科学 2021-03-31 Rui Xie , Wei Ye , Jinan Sun , Shikun Zhang

Global sentence information is crucial for sequence labeling tasks, where each word in a sentence must be assigned a label. While BiLSTM models are widely used, they often fail to capture sufficient global context for inner words. Previous…

计算与语言 · 计算机科学 2025-07-08 Conglei Xu , Kun Shen , Hongguang Sun , Yang Xu
‹ 上一页 1 2 3 10 下一页 ›