arrow
返回

An intent-enhanced feedback extension model for code search

delete2025-01-01
delete0
PRE
AI
H
Haize Hu
M
Mengge Fang *
J
Jianxun Liu
DOI:10.1016/j.infsof.2024.107589delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Context: Queries and descriptions used for code search not only differ in semantics and syntax, but also in structural features. Therefore, solving the differences between them is of great significance to the study of code search. Objective: This study focuses on the improvement of code search accuracy by exploring the expansion of query statements during the search process. Methods: To address the disparities between description and query, the paper introduces the Intentional Enhancement and Feedback (QEIEF) query expansion model. QEIEF leverages the written description provided by developers as the source for query expansion. Furthermore, QEIEF incorporates theQEIEF method to enhance the semantic representation of the query. This involves utilizing the query output as the target for intent enhancement and integrating it back into the query. Results: To assess the effectiveness of the proposedQEIEF in code search tasks, we conducted experiments using two base models (DeepCS and UNIF) along withQEIEF, as well as baseline models (WordNet and BM25). The experimental results indicate that QEIEF outperforms the baseline models in terms of query expansion accuracy and code search results. Conclusion: QEIEF not only enhances the accuracy of query expansion but also substantially improves code search performance. The source code and data associated with our study can be accessed publicly at: The address of our new code and data is https://github.com/xiangzheng666/IST-IEFE.
Keyword:
Code search
Query expansion
Intentional enhancement
Feedback mechanisms

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
7.7K

机构

G
Guangxi Normal University
学者数:
7.7K
论文数: 4.9K
被引数: 5.1K
引用论文

引用论文

err分享
err收藏
Using comparative genomics to uncover new kinds of protein‐based metabolic organelles in bacteria
err2013-01-04
err0
errOAAI
errJulien Jorda; David Lopez; Nicole M. Wheatley; Todd O. Yeates
err分享
err收藏
Learning to rank code examples for code search engines
err2016-01-21
err56
PREAI
errNiu, Haoran; Keivanloo, Iman; Zou, Ying
err分享
err收藏
Tansanastomotic stents for dismembered pyeloplasty in children
err2002-03-01
err0
PREAI
errI. Serdar Arda *, † , Pelin Oguz; Sinasi Sevmis
err分享
err收藏
Engineered repressors are potent inhibitors of androgen receptor activity工程阻遏物是雄激素受体活性的有效抑制剂
err2014-01-21
err0
errOAAI
errGreg N. Brooke; Sue M. Powell; Derek N. Lavery; Jonathan Waxman; Laki Buluwela; Simak Ali; Charlotte L. Bevan
err分享
err收藏
Greedy Code Search Based Memetic Algorithm for the Design of Orthogonal Polyphase Code Sets
err2019-01-01
err16
errOAAI
errRen, Wei; Zhang, Honggang; Liu, Quanhua; Yang, Yi
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
CD300c is an Activating Receptor Expressed on Human Monocytes
err2013-04-06
err0
errOAAI
errVenkateswara R. Simhadri; John L. Mariano; Aleksandra Gil-Krzewska; Qing Zhou; Francisco Borrego
err分享
err收藏
Three-body effects in Casimir-Polder repulsion
err2015-04-28
err0
errOAAI
errKimball A. Milton; E. K. Abalo; Prachi Parashar; Nima Pourtolami; Iver Brevik; Simen Å. Ellingsen; Stefan Yoshi Buhmann; Stefan Scheel
err分享
err收藏
学者 查看更多内容