arrow
返回

Query Expansion Based on Crowd Knowledge for Code Search

delete2016-09-01
delete125
delete
OA
AI
N
Nie, Liming *
H
He Jiang
R
Ren, Zhilei
S
Sun, Zeyi
L
Li, Xiaochen
DOI:10.1109/TSC.2016.2560165delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
As code search is a frequent developer activity in software development practices, improving the performance of code search is a critical task. In the text retrieval based search techniques employed in the code search, the term mismatch problem is a critical language issue for retrieval effectiveness. By reformulating the queries, query expansion provides effective ways to solve the term mismatch problem. In this paper, we propose Query Expansion based on Crowd Knowledge (QECK), a novel technique to improve the performance of code search algorithms. QECK identifies software-specific expansion words from the high quality pseudo relevance feedback question and answer pairs on Stack Overflow to automatically generate the expansion queries. Furthermore, we incorporate QECK in the classic Rocchio's model, and propose QECK based code search method QECKRocchio. We conduct three experiments to evaluate our QECK technique and investigate QECKRocchio in a large-scale corpus containing real-world code snippets and a question and answer pair collection. The results show that QECK improves the performance of three code search algorithms by up to 64 percent in Precision, and 35 percent in NDCG. Meanwhile, compared with the state-of-the-art query expansion method, the improvement of QECKRocchio is 22 percent in Precision, and 16 percent in NDCG.
Keyword:
Code search
crowd knowledge
query expansion
information retrieval
question & answer pair

期刊

IEEE Transactions on Services Computing 封面图
IEEE Transactions on Services Computing
IF:
5.8
论文数:
2.2K
被引数:
6.5K

机构

D
Dalian University of Technology
学者数:
6.0W
论文数: 4.4W
被引数: 5.5W
引用论文

引用论文

Highly sensitive and specific analysis of sterol profiles in biological samples by HPLC–ESI–MS/MS
err2010-08-01
err0
errOAAI
errAkira Honda; Teruo Miyazaki; Tadashi Ikegami; Junichi Iwamoto; Kouwa Yamashita; Mitsuteru Numazawa; Yasushi Matsuzaki
err分享
err收藏
Dual Hole Transport Layers Heterojunction and Band Alignment Engineered Mo:BiVO4 Photoanodes for Efficient Water Splitting (Small 37/2024)
err2024-09-13
err0
PREAI
errGuilin Wang; Tongxin Tang; Kai‐Hang Ye; Xin Ding; Junwei Chen; WenHao Zou; Yushen Xiao; JieYu Li; Long Zhao; Chaojie Chen; Sitong Ge; Lei Li; Xiujuan Wei; Chao Chen; Yang Cao; Zhan Lin; Shanqing Zhang
err分享
err收藏
err分享
err收藏
The amount of hereditary disease in human populations
err2007-09-28
err0
PREAI
errBENJAMIN K. TRIMBLE; JOHN H. DOUGHTY
err分享
err收藏
Laparoscopic nephrectomy for renal cell carcinoma
err2001-02-01
err0
PREAI
errIsaac Yi Kim; Peter G. Schulam
err分享
err收藏
学者 查看更多内容