中文
相关论文

相关论文: Mining Idioms from Source Code

200 篇论文

Statistical language modeling techniques have successfully been applied to source code, yielding a variety of new software development tools, such as tools for code suggestion and improving readability. A major issue with these techniques…

软件工程 · 计算机科学 2019-03-15 Rafael-Michael Karampatsis , Charles Sutton

In programming by example, users "write" programs by generating a small number of input-output examples and asking the computer to synthesize consistent programs. We consider a challenging problem in this domain: learning regular…

人工智能 · 计算机科学 2018-09-28 Long Ouyang

Source Code Summarization is the task of writing short, natural language descriptions of source code. The main use for these descriptions is in software documentation e.g. the one-sentence Java method descriptions in JavaDocs. Code…

计算与语言 · 计算机科学 2019-04-05 Alexander LeClair , Collin McMillan

The dominant programming languages support only linear text to express ideas. Visual languages offer graphical representations for entire programs, when viewed with special tools. Hybrid languages, with support from existing tools, allow…

编程语言 · 计算机科学 2024-03-05 Leif Andersen , Cameron Moy , Stephen Chang , Matthias Felleisen

Idiomatic expressions are an integral part of natural language and constantly being added to a language. Owing to their non-compositionality and their ability to take on a figurative or literal meaning depending on the sentential context,…

计算与语言 · 计算机科学 2021-10-20 Ziheng Zeng , Suma Bhat

Source code comes in different shapes and forms. Previous research has already shown code to be more predictable than natural language as well as highlighted its statistical predictability at the token level: source code can be natural.…

软件工程 · 计算机科学 2025-04-14 Profir-Petru Pârţachi , Mahito Sugiyama

Code completion plays a prominent role in modern integrated development environments (IDEs). Machine learning has become ubiquitous in analogous natural language writing and search software, surfacing more relevant autocompletions and…

软件工程 · 计算机科学 2020-04-14 Gareth Ari Aye , Gail E. Kaiser

To enhance developer productivity, all modern integrated development environments (IDEs) include code suggestion functionality that proposes likely next tokens at the cursor. While current IDEs work well for statically-typed languages,…

神经与进化计算 · 计算机科学 2016-11-28 Avishkar Bhoopchand , Tim Rocktäschel , Earl Barr , Sebastian Riedel

Programming languages themselves have a limited number of reserved keywords and character based tokens that define the language specification. However, programmers have a rich use of natural language within their code through comments, text…

编程语言 · 计算机科学 2017-05-23 Vadim Markovtsev , Eiso Kant

Source code summarization is the task of creating short, natural language descriptions of source code. Code summarization is the backbone of much software documentation such as JavaDocs, in which very brief comments such as "adds the…

软件工程 · 计算机科学 2021-01-11 Sakib Haque , Aakash Bansal , Lingfei Wu , Collin McMillan

Reusing code is a common practice in software development: It helps developers speedup the implementation task while also reducing the chances of introducing bugs, given the assumption that the reused code has been tested, possibly in…

软件工程 · 计算机科学 2022-08-17 Rosalia Tufano , Emad Aghajani , Gabriele Bavota

Text generation is a highly active area of research in the computational linguistic community. The evaluation of the generated text is a challenging task and multiple theories and metrics have been proposed over the years. Unfortunately,…

计算与语言 · 计算机科学 2021-07-09 Vivek Srivastava , Mayank Singh

We study idiom-based visual puns--images that align an idiom's literal and figurative meanings--and present an iterative framework that coordinates a large language model (LLM), a text-to-image model (T2IM), and a multimodal LLM (MLLM) for…

计算与语言 · 计算机科学 2025-12-01 Kelaiti Xiao , Liang Yang , Dongyu Zhang , Paerhati Tulajiang , Hongfei Lin

The context tree source is a source model in which the occurrence probability of symbols is determined from a finite past sequence, and is a broader class of sources that includes i.i.d. and Markov sources. The proposed source model in this…

信息论 · 计算机科学 2021-05-14 Koshi Shimada , Shota Saito , Toshiyasu Matsushima

Recently, automatic code comment generation is proposed to facilitate program comprehension. Existing code comment generation techniques focus on describing the functionality of the source code. However, there are other aspects such as…

软件工程 · 计算机科学 2018-07-09 Mohammad Masudur Rahman , Chanchal K. Roy , Iman Keivanloo

There are often multiple ways to implement the same requirement in source code. Different implementation choices can result in code snippets that are similar, and have been defined in multiple ways: code clones, examples, simions and…

软件工程 · 计算机科学 2020-06-16 Venkatesh Vinayakarao , Devika Sondhi , Sumit Keswani , Rahul Purandare , Anita Sarma

We describe a generative probabilistic model of natural language, which we call HBG, that takes advantage of detailed linguistic information to resolve ambiguity. HBG incorporates lexical, syntactic, semantic, and structural information…

cmp-lg · 计算机科学 2008-02-03 Ezra Black , Fred Jelinek , John Lafferty , David M. Magerman , Robert Mercer , Salim Roukos

We study a new application for text generation -- idiomatic sentence generation -- which aims to transfer literal phrases in sentences into their idiomatic counterparts. Inspired by psycholinguistic theories of idiom use in one's native…

计算与语言 · 计算机科学 2021-05-12 Jianing Zhou , Hongyu Gong , Srihari Nanniyur , Suma Bhat

As a type of figurative language, an East Asian idiom condenses rich cultural background into only a few characters. Translating such idioms is challenging for human translators, who often resort to choosing a context-aware translation from…

计算与语言 · 计算机科学 2024-10-03 Kenan Tang , Peiyang Song , Yao Qin , Xifeng Yan

Generating effective test inputs for a software system requires that these inputs be valid, as they will otherwise be rejected without reaching actual functionality. In the absence of a specification for the input language, common test…

软件工程 · 计算机科学 2025-03-12 Leon Bettscheider , Andreas Zeller