中文
相关论文

相关论文: Pointing to Subwords for Generating Function Names…

200 篇论文

Generating structured input files to test programs can be performed by techniques that produce them from a grammar that serves as the specification for syntactically correct input files. Two interesting scenarios then arise for effective…

软件工程 · 计算机科学 2018-12-20 Esteban Pavese , Ezekiel Soremekun , Nikolas Havrikov , Lars Grunske , Andreas Zeller

Source code is rarely written in isolation. It depends significantly on the programmatic context, such as the class that the code would reside in. To study this phenomenon, we introduce the task of generating class member functions given…

计算与语言 · 计算机科学 2018-08-30 Srinivasan Iyer , Ioannis Konstas , Alvin Cheung , Luke Zettlemoyer

For recent machine-learning-based tasks like API sequence generation, comment generation, and document generation, large amount of data is needed. When software developers implement algorithms in code, we find that they often mention…

We propose a method for program generation based on semantic scaffolds, lightweight structures representing the high-level semantic and syntactic composition of a program. By first searching over plausible scaffolds then using these as…

计算与语言 · 计算机科学 2020-05-13 Ruiqi Zhong , Mitchell Stern , Dan Klein

Documenting the functionality of software units with code comments, e.g., Javadoc comments, is a common programmer best-practice in software engineering. This paper introduces a novel test generation technique that exploits the code-comment…

软件工程 · 计算机科学 2025-05-01 Giovanni Denaro , Luca Guglielmo

Data annotation is an essential step for constructing new datasets. However, the conventional approach of data annotation through crowdsourcing is both time-consuming and expensive. In addition, the complexity of this process increases when…

计算与语言 · 计算机科学 2024-02-09 Juhwan Choi , Eunju Lee , Kyohoon Jin , YoungBin Kim

As an integral part of source code files, code comments help improve program readability and comprehension. However, developers sometimes do not comment on their program code adequately due to the incurred extra efforts, lack of relevant…

软件工程 · 计算机科学 2019-07-31 Xiaotao Song , Hailong Sun , Xu Wang , Jiafei Yan

Pseudo-code written by natural language is helpful for novice developers' program comprehension. However, writing such pseudo-code is time-consuming and laborious. Motivated by the research advancements of sequence-to-sequence learning and…

软件工程 · 计算机科学 2021-09-22 Guang Yang , Yanlin Zhou , Xiang Chen , Chi Yu

This work introduces (1) a technique that allows large language models (LLMs) to leverage user-provided code when solving programming tasks and (2) a method to iteratively generate modular sub-functions that can aid future code generation…

机器学习 · 计算机科学 2023-12-05 Patrick Hajali , Ignas Budvytis

Code summary generation is the task of writing natural language descriptions of a section of source code. Recent advances in Large Language Models (LLMs) and other AI-based technologies have helped make automatic code summarization a…

软件工程 · 计算机科学 2024-08-20 Chia-Yi Su , Aakash Bansal , Yu Huang , Toby Jia-Jun Li , Collin McMillan

Since programming concepts do not match their syntactic representations, code search is a very tedious task. For instance in Java or C, array doesn't match [], so using "array" as a query, one cannot find what they are looking for. Often…

信息检索 · 计算机科学 2019-04-01 Deepak Thukral , Darvesh Punia

We describe a novel technique and implemented system for constructing a subcategorization dictionary from textual corpora. Each dictionary entry encodes the relative frequency of occurrence of a comprehensive set of subcategorization…

cmp-lg · 计算机科学 2016-08-31 Ted Briscoe , John Carroll

Sequence generation applications require satisfying semantic constraints, such as ensuring that programs are correct, using certain keywords, or avoiding undesirable content. Language models, whether fine-tuned or prompted with few-shot…

计算与语言 · 计算机科学 2022-11-02 Sean Welleck , Ximing Lu , Peter West , Faeze Brahman , Tianxiao Shen , Daniel Khashabi , Yejin Choi

There is an emerging interest in the application of natural language processing models to source code processing tasks. One of the major problems in applying deep learning to software engineering is that source code often contains a lot of…

软件工程 · 计算机科学 2021-04-28 Nadezhda Chirkova , Sergey Troshin

Short-text classification, like all data science, struggles to achieve high performance using limited data. As a solution, a short sentence may be expanded with new and relevant feature words to form an artificially enlarged dataset, and…

计算与语言 · 计算机科学 2019-09-18 Duncan Cameron-Steinke

Development of a proper names pronunciation lexicon is usually a manual effort which can not be avoided. Grapheme to phoneme (G2P) conversion modules, in literature, are usually rule based and work best for non-proper names in a particular…

计算与语言 · 计算机科学 2014-06-06 Sunil Kumar Kopparapu , M Laxminarayana

Source code summarization of a subroutine is the task of writing a short, natural language description of that subroutine. The description usually serves in documentation aimed at programmers, where even brief phrase (e.g. "compresses data…

软件工程 · 计算机科学 2021-03-23 Aakash Bansal , Sakib Haque , Collin McMillan

Generating semantic lexicons semi-automatically could be a great time saver, relative to creating them by hand. In this paper, we present an algorithm for extracting potential entries for a category from an on-line corpus, based upon a…

计算与语言 · 计算机科学 2007-05-23 Brian Roark , Eugene Charniak

Fine-tuning is the de facto way to leverage large pretrained language models to perform downstream tasks. However, it modifies all the language model parameters and therefore necessitates storing a full copy for each task. In this paper, we…

计算与语言 · 计算机科学 2021-01-05 Xiang Lisa Li , Percy Liang

Fine-tuning pre-trained generative language models to down-stream language generation tasks has shown promising results. However, this comes with the cost of having a single, large model for each task, which is not ideal in low-memory/power…

计算与语言 · 计算机科学 2020-09-22 Zhaojiang Lin , Andrea Madotto , Pascale Fung