arrow
返回

Fitting missing API puzzles with machine translation techniques

用机器翻译技术拟合缺失的API谜题

delete2023-04-01
delete4
PRE
AI
P
Phuong T. Nguyen
C
Claudio Di Sipio
J
Juri Di Rocco
D
Davide Di Ruscio *
Massimiliano Di Penta 封面图
Massimiliano Di Penta (Massimiliano Di Penta)
DOI:10.1016/j.eswa.2022.119477delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
While implementing software projects, developers do not reinvent the wheel but try to reuse existing API calls and source code. In recent years, the problems related to recommending APIs and code snippets have been intensively investigated. Although current approaches have achieved encouraging performance, there is still the need to improve the recommendation process's effectiveness and efficiency. In this work, we reformulate the problem of API recommendations by proposing learning and recommending API sequences relevant to a given coding context. We present LUPE, a novel approach to API and code recommendation, exploiting cutting-edge deep learning techniques. Thanks to the underlying Encoder-Decoder architecture specialized in transforming sequences, LUPE can effectively learn the order in which invocations occur. The approach has been evaluated on two Android datasets and compared with GAPI and FACER, two state-of-the-art API recommender systems. Being fed with augmented training data, our conceived approach can obtain a high prediction accuracy, and produce a perfect match in several cases, hence outperforming the baselines.
Keyword:
API recommendation
Source code recommendation
Encoder-Decoder LSTM
Machine translation
More Than Deep Learning: post-processing for API sequence recommendation
err2021-10-29
err4
errOAAI
errChen, Chi; Peng, Xin; Chen, Bihuan; Sun, Jun; Xing, Zhenchang; Wang, Xin; Zhao, Wenyun
err分享
err收藏
LSTM-based argument recommendation for non-API methods
err2020-08-14
err11
PREAI
errLi, Guangjie; Liu, Hui; Li, Ge; Shen, Sijie; Tang, Hanlin
err分享
err收藏
PTM-APIRec: Leveraging Pre-trained Models of Source Code in API Recommendation
err2024-03-15
err1
PREAI
errLi, Zhihao; Li, Chuanyi; Tang, Ze; Huang, Wanhong; Ge, Jidong; Luo, Bin; Ng, Vincent; Wang, Ting; Hu, Yucheng; Zhang, Xiaopeng
err分享
err收藏
err分享
err收藏
err分享
err收藏
Generative API usage code recommendation with parameter concretization
err2019-07-30
err11
PREAI
errChen, Chi; Peng, Xin; Sun, Jun; Xing, Zhenchang; Wang, Xin; Zhao, Yifan; Zhang, Hairui; Zhao, Wenyun
err分享
err收藏

期刊

Expert Systems with Applications 封面图
Expert Systems with Applications
IF:
7.5
论文数:
3.1W
被引数:
13.6W

机构

U
university of laquila
学者数:
5
论文数: 4
被引数: 3.1K
U
university of sannio
学者数:
128
论文数: 55
被引数: 1.4K
引用论文

引用论文

Intelligent Code Completion with Bayesian Networks
err2015-12-02
err54
PREAI
errProksch, Sebastian; Lerch, Johannes; Mezini, Mira
err分享
err收藏
The 2.6 Angstrom Crystal Structure of a Human A2AAdenosine Receptor Bound to an Antagonist
err2008-11-21
err0
errOAAI
errVeli-Pekka Jaakola; Mark T. Griffith; Michael A. Hanson; Vadim Cherezov; Ellen Y. T. Chien; J. Robert Lane; Adriaan P. IJzerman; Raymond C. Stevens
err分享
err收藏
SequenceR: Sequence-to-Sequence Learning for End-to-End Program RepairSequenceR: 用于端到端程序修复的序列到序列学习
err2021-01-01
err217
errOAAI
errChen, Zimin; Kommrusch, Steve; Tufano, Michele; Pouchet, Louis-Noel; Poshyvanyk, Denys; Monperrus, Martin
err分享
err收藏
学者 查看更多内容