中文
相关论文

相关论文: Mining Idioms from Source Code

200 篇论文

While large language models (LLMs) now excel at code generation, a key aspect of software development is the art of refactoring: consolidating code into libraries of reusable and readable programs. In this paper, we introduce LILO, a…

计算与语言 · 计算机科学 2024-03-18 Gabriel Grand , Lionel Wong , Maddy Bowers , Theo X. Olausson , Muxin Liu , Joshua B. Tenenbaum , Jacob Andreas

Reimplementing solutions to previously solved software engineering problems is not only inefficient but also introduces inadequate and error-prone code. Many existing methods achieve impressive performance on this issue by using…

软件工程 · 计算机科学 2022-10-04 Usama Nadeem , Noah Ziems , Shaoen Wu

Randomly-hashed item ids are used ubiquitously in recommendation models. However, the learned representations from random hashing prevents generalization across similar items, causing problems of learning unseen and long-tail items,…

This paper develops a new framework for program synthesis, called semantics-guided synthesis (SemGuS), that allows a user to provide both the syntax and the semantics for the constructs in the language. SemGuS accepts a recursively defined…

编程语言 · 计算机科学 2020-11-12 Jinwoo Kim , Qinheping Hu , Loris D'Antoni , Thomas Reps

(Source) Code summarization aims to automatically generate summaries/comments for a given code snippet in the form of natural language. Such summaries play a key role in helping developers understand and maintain source code. Existing code…

软件工程 · 计算机科学 2023-11-07 Weisong Sun , Chunrong Fang , Yuchen Chen , Quanjun Zhang , Guanhong Tao , Tingxu Han , Yifei Ge , Yudu You , Bin Luo

Consider the case where a programmer has written some part of a program, but has left part of the program (such as a method or a function body) incomplete. The goal is to use the context surrounding the missing code to automatically 'figure…

软件工程 · 计算机科学 2020-07-28 Rohan Mukherjee , Swarat Chaudhuri , Chris Jermaine

We investigate the processing of idiomatic expressions in transformer-based language models using a novel set of techniques for circuit discovery and analysis. First discovering circuits via a modified path patching algorithm, we find that…

计算与语言 · 计算机科学 2025-11-21 Andrew Gomes

Hash codes are a very efficient data representation needed to be able to cope with the ever growing amounts of data. We introduce a random forest semantic hashing scheme with information-theoretic code aggregation, showing for the first…

计算机视觉与模式识别 · 计算机科学 2015-04-20 Qiang Qiu , Guillermo Sapiro , Alex Bronstein

Worked examples (solutions to typical programming problems presented as a source code in a certain language and are used to explain the topics from a programming class) are among the most popular types of learning content in programming…

The application of machine learning algorithms to source code has grown in the past years. Since these algorithms are quite sensitive to input data, it is not surprising that researchers experiment with input representations. Nowadays, a…

软件工程 · 计算机科学 2021-03-25 Egor Spirin , Egor Bogomolov , Vladimir Kovalenko , Timofey Bryksin

Linguine is a natural-language-inspired programming language that enables users to write programs in a fluent, controlled subset of English while preserving formal semantics. The language introduces anaphoric constructs, such as pronoun…

编程语言 · 计算机科学 2025-06-11 Lifan Hu

Existing automated techniques for software documentation typically attempt to reason between two main sources of information: code and natural language. However, this reasoning process is often complicated by the lexical gap between more…

Current Text-to-Code models demonstrate impressive capabilities in generating executable code from natural language snippets. However, current studies focus on technical instructions and programmer-oriented language, and it is an open…

计算与语言 · 计算机科学 2024-07-17 Asaf Achi Mordechai , Yoav Goldberg , Reut Tsarfaty

We present an empirical investigation of various ways to automatically identify phrases in a tagged corpus that are useful for dialogue act tagging. We found that a new method (which measures a phrase's deviation from an…

人工智能 · 计算机科学 2007-05-23 Ken Samuel , Sandra Carberry , K. Vijay-Shanker

Software documentation largely consists of short, natural language summaries of the subroutines in the software. These summaries help programmers quickly understand what a subroutine does without having to read the source code him or…

软件工程 · 计算机科学 2020-04-13 Sakib Haque , Alexander LeClair , Lingfei Wu , Collin McMillan

This article presents a hybrid methodology for building a multilingual corpus designed to support the study of emerging concepts in the humanities and social sciences (HSS), illustrated here through the case of ``non-technological…

计算与语言 · 计算机科学 2025-12-09 Revekka Kyriakoglou , Anna Pappa

We propose a novel dependency-based hybrid tree model for semantic parsing, which converts natural language utterance into machine interpretable meaning representations. Unlike previous state-of-the-art models, the semantic information is…

计算与语言 · 计算机科学 2018-09-05 Zhanming Jie , Wei Lu

Python is one of the most commonly used programming languages in industry and education. Its English keywords and built-in functions/modules allow it to come close to pseudo-code in terms of its readability and ease of writing. However,…

计算与语言 · 计算机科学 2025-04-17 Joshua Otten , Antonios Anastasopoulos , Kevin Moran

A referring expression (RE) is a description that identifies a set of instances unambiguously. Mining REs from data finds applications in natural language generation, algorithmic journalism, and data maintenance. Since there may exist…

人工智能 · 计算机科学 2019-11-05 Luis Galárraga , Julien Delaunay , Jean-Louis Dessalles

Idiomatic expressions can be problematic for natural language processing applications as their meaning cannot be inferred from their constituting words. A lack of successful methodological approaches and sufficiently large datasets prevents…

计算与语言 · 计算机科学 2021-11-11 Tadej Škvorc , Polona Gantar , Marko Robnik-Šikonja