Query Expansion Based on Crowd Knowledge for Code Search
Query Expansion Based on Crowd Knowledge for Code Search
复制标题
基于群体知识的查询扩展代码搜索
DOI:
10.1109/tsc.2016.2560165
复制
发表时间:
2016-09
影响因子:
8.1
通讯作者:
Li Xiaochen
中科院分区:
文献类型:
--
作者:
Nie Liming;Jiang He;Ren Zhilei;Sun Zeyi;Li Xiaochen
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 QECK Rocchio is 22 percent in Precision, and 16 percent in NDCG.
登录
查看更多内容
DOI:
10.1145/2597008.2597799
发表时间:
2014-06
期刊:
--
影响因子:
--
作者:
Carmine Vassallo;Sebastiano Panichella;M. D. Penta;G. Canfora
通讯作者:
Carmine Vassallo;Sebastiano Panichella;M. D. Penta;G. Canfora
DOI:
10.1145/2591062.2591071
发表时间:
2014-05
期刊:
Companion Proceedings of the 36th International Conference on Software Engineering
影响因子:
--
作者:
Yuan Tian;D. Lo;J. Lawall
通讯作者:
Yuan Tian;D. Lo;J. Lawall
DOI:
--
发表时间:
1971
期刊:
--
影响因子:
--
作者:
G. Salton
通讯作者:
G. Salton
DOI:
10.1007/978-3-642-03013-0_15
发表时间:
2009-07
期刊:
--
影响因子:
--
作者:
Hao Zhong;Tao Xie;Lu Zhang;J. Pei;Hong Mei
通讯作者:
Hao Zhong;Tao Xie;Lu Zhang;J. Pei;Hong Mei
DOI:
10.1109/msr.2012.6224276
发表时间:
2012-06
期刊:
2012 9th IEEE Working Conference on Mining Software Repositories (MSR)
影响因子:
--
作者:
Jinqiu Yang;Lin Tan
通讯作者:
Jinqiu Yang;Lin Tan