API Specification-Based Function Search Engine Using Natural Language Query

被引:0
作者
DinhHuy Tran [1 ]
HuaPhung Nguyen [1 ]
机构
[1] Ho Chi Minh City Univ Technol, Fac Comp Sci & Engn, Ho Chi Minh City, Vietnam
来源
2013 INTERNATIONAL CONFERENCE ON COMPUTING, MANAGEMENT AND TELECOMMUNICATIONS (COMMANTEL) | 2013年
关键词
Code search engine; API specification; software reuse; natural language processing;
D O I
暂无
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Programmers nearly always use existing functions while developing their applications. However, the functions have grown more numerous and more diverse while the applications have grown more dependent on them. Thus, it's difficult for programmers to find what functions they want and know how to call those functions [1]. This paper present two novel approaches to address these problems. The first is the approach to find right functions based on the API specification. This approach can search suitable functions by their functionalities described in the API specification. The second is approach to automatically generate code for "function call". In the second approach, programmer can call a function by natural language query. We have implemented a function search engine for Java, called FSE. Besides, we have also performed some evaluations to demonstrate that FSE is better than the existing online search engines in precision and recall.
引用
收藏
页码:140 / 145
页数:6
相关论文
共 18 条
[1]  
[Anonymous], 2007, P 22 IEEE ACM INT C
[2]  
Chatterjee S, 2009, LECT NOTES COMPUT SC, V5503, P385
[3]   Application of linguistic techniques for Use Case analysis [J].
Fantechi, A ;
Gnesi, S ;
Lami, G ;
Maccari, A .
IEEE JOINT INTERNATIONAL CONFERENCE ON REQUIREMENTS ENGINEERING, PROCEEDINGS, 2002, :157-164
[4]  
Grechanik M., 2007, PROC 4 IEEE INT WORK, P12, DOI DOI 10.1109/MSR.2007.9
[5]  
Grechanik M., 2010, P 32 ACM IEEE INT C, P475, DOI DOI 10.1145/1806799.1806868
[6]  
Hemayati R, 2007, LECT NOTES COMPUT SC, V4505, P678
[7]  
Hoffmann R, 2007, UIST 2007: PROCEEDINGS OF THE 20TH ANNUAL ACM SYMPOSIUM ON USER INTERFACE SOFTWARE AND TECHNOLOGY, P13
[8]   Accurate unlexicalized parsing [J].
Klein, D ;
Manning, CD .
41ST ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, PROCEEDINGS OF THE CONFERENCE, 2003, :423-430
[9]  
Ko AJ, 2004, 2004 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN CENTRIC COMPUTING: PROCEEDINGS, P199
[10]   Scenarios: Identifying missing objects and actions by means of computational linguistics [J].
Kof, Leonid .
15TH IEEE INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE, PROCEEDINGS, 2007, :121-+