• DocumentCode
    1614903
  • Title

    API specification-based function search engine using natural language query

  • Author

    Tran, DinhHuy ; Nguyen, HuaPhung

  • Author_Institution
    Faculty of Computer Science & Engineering, Ho Chi Minh city University of Technology, Vietnam 268 Ly Thuong Kiet, Ho Chi Minh, Vietnam
  • fYear
    2013
  • Firstpage
    140
  • Lastpage
    145
  • Abstract
    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.
  • Keywords
    Documentation; Feature extraction; Indexes; Java; Libraries; Natural languages; Search engines; API specification; Code search engine; natural language processing; software reuse;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computing, Management and Telecommunications (ComManTel), 2013 International Conference on
  • Conference_Location
    Ho Chi Minh City, Vietnam
  • Print_ISBN
    978-1-4673-2087-0
  • Type

    conf

  • DOI
    10.1109/ComManTel.2013.6482380
  • Filename
    6482380