中文
相关论文

相关论文: Mining Idioms from Source Code

200 篇论文

We propose a model to automatically describe changes introduced in the source code of a program using natural language. Our method receives as input a set of code commits, which contains both the modifications and message introduced by an…

计算与语言 · 计算机科学 2017-04-18 Pablo Loyola , Edison Marrese-Taylor , Yutaka Matsuo

Idioms are an important language phenomenon in Chinese, but idiom translation is notoriously hard. Current machine translation models perform poorly on idiom translation, while idioms are sparse in many translation datasets. We present…

计算与语言 · 计算机科学 2022-02-22 Kenan Tang

Idioms pose a fundamental challenge for language models, as their meaning cannot be inferred from surface form alone. Understanding such expressions, therefore, requires semantic abstraction beyond lexical overlap. We introduce IdioLink, a…

计算与语言 · 计算机科学 2026-05-22 Kai Golan Hashiloni , Daniel Fadlon , Lior Livyatan , Ofri Hefetz , Jiahuan Pei , Kfir Bar

In this paper, we explore the feasibility of finding algorithm implementations from code. Successfully matching code and algorithms can help understand unknown code, provide reference implementations, and automatically collect data for…

软件工程 · 计算机科学 2023-07-04 Adithya Kulkarni , Mohna Chakraborty , Yonas Sium , Sai Charishma Valluri , Wei Le , Qi Li

In the Python ecosystem, the adoption of idiomatic constructs has been fostered because of their expressiveness, increasing productivity and even efficiency, despite controversial arguments concerning familiarity or understandability…

软件工程 · 计算机科学 2025-01-29 Alessandro Midolo , Massimiliano Di Penta

In this paper, we describe the LIDIOMS data set, a multilingual RDF representation of idioms currently containing five languages: English, German, Italian, Portuguese, and Russian. The data set is intended to support natural language…

计算与语言 · 计算机科学 2018-02-23 Diego Moussallem , Mohamed Ahmed Sherif , Diego Esteves , Marcos Zampieri , Axel-Cyrille Ngonga Ngomo

Generative models for source code are an interesting structured prediction problem, requiring to reason about both hard syntactic and semantic constraints as well as about natural, likely programs. We present a novel model for this problem…

机器学习 · 计算机科学 2019-04-18 Marc Brockschmidt , Miltiadis Allamanis , Alexander L. Gaunt , Oleksandr Polozov

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

Comments are an integral part of software development; they are natural language descriptions associated with source code elements. Understanding explicit associations can be useful in improving code comprehensibility and maintaining the…

计算与语言 · 计算机科学 2019-12-17 Sheena Panthaplackel , Milos Gligoric , Raymond J. Mooney , Junyi Jessy Li

Developers must comprehend the code they will maintain, meaning that the code must be legible and reasonably self-descriptive. Unfortunately, there is still a lack of research and tooling that supports developers in understanding their…

软件工程 · 计算机科学 2021-07-20 Anthony Peruma , Venera Arnaoudova , Christian D. Newman

Code editing is essential in evolving software development. Many automated code editing tools have been proposed that leverage both Information Retrieval-based techniques and Machine Learning-based code generation and code editing models.…

软件工程 · 计算机科学 2024-02-27 Changshu Liu , Pelin Cetin , Yogesh Patodia , Saikat Chakraborty , Yangruibo Ding , Baishakhi Ray

To produce accurate predictions, language models (LMs) must balance between generalization and memorization. Yet, little is known about the mechanism by which transformer LMs employ their memorization capacity. When does a model decide to…

计算与语言 · 计算机科学 2023-02-14 Adi Haviv , Ido Cohen , Jacob Gidron , Roei Schuster , Yoav Goldberg , Mor Geva

Translating a program written in one programming language to another can be useful for software development tasks that need functionality implementations in different languages. Although past studies have considered this problem, they may…

机器学习 · 计算机科学 2018-03-14 Nghi D. Q. Bui , Lingxiao Jiang

Context: Software systems are in continuous evolution through source code changes to fixing bugs, adding new functionalities and improving the internal architecture. All these practices are recorded in the version history, which can be…

软件工程 · 计算机科学 2020-01-17 Leandro Ungari Cayres , Bruno Santos de Lima , Rogério Eduardo Garcia

Idioms are unlike most phrases in two important ways. First, the words in an idiom have non-canonical meanings. Second, the non-canonical meanings of words in an idiom are contingent on the presence of other words in the idiom. Linguistic…

计算与语言 · 计算机科学 2022-09-16 Michaela Socolof , Jackie Chi Kit Cheung , Michael Wagner , Timothy J. O'Donnell

Platforms like Stack Overflow and GitHub's gist system promote the sharing of ideas and programming techniques via the distribution of code snippets designed to illustrate particular tasks. Python, a popular and fast-growing programming…

软件工程 · 计算机科学 2019-05-28 Eric Horton , Chris Parnin

Code intelligence is an emerging domain in software engineering, aiming to improve the effectiveness and efficiency of various code-related tasks. Recent research suggests that incorporating contextual information beyond the basic original…

Policy design for various systems controllers has conventionally been a manual process, with domain experts carefully tailoring heuristics for the specific instance in which the policy will be deployed. In this paper, we re-imagine policy…

操作系统 · 计算机科学 2025-10-13 Rohit Dwivedula , Divyanshu Saxena , Aditya Akella , Swarat Chaudhuri , Daehyeok Kim

We consider the problem of type-directed component based synthesis where, given a set of (typed) components and a query type, the goal is to synthesize a term that inhabits the query. Classical approaches based on proof search in…

编程语言 · 计算机科学 2022-04-01 Zheng Guo , Michael James , David Justo , Jiaxiao Zhou , Ziteng Wang , Ranjit Jhala , Nadia Polikarpova

During software maintenance, programmers spend a lot of time on code comprehension. Reading comments is an effective way for programmers to reduce the reading and navigating time when comprehending source code. Therefore, as a critical task…

软件工程 · 计算机科学 2018-02-01 Xing Hu , Yuhan Wei , Ge Li , Zhi Jin