检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]上海交通大学软件学院,上海200240 [2]上海交通大学计算机科学与工程系,上海200240
出 处:《计算机与现代化》2016年第4期59-64,共6页Computer and Modernization
基 金:国家自然科学基金资助项目(61572313)
摘 要:近年来程序库日趋复杂。当面对不熟悉的开发领域或者功能模块时,开发者通常需要借助搜索引擎或者查阅API文档的方式来选择合适的API来进行开发。然而传统搜索引擎的搜索结果过于碎片化以及API文档中检索的不便使得这一过程十分耗时。本文提出一种新的搜索算法,并根据该算法实现一个API搜索工具APIBook。APIBook能够根据用户对API功能的自然语言描述,结合软件库中API的语义信息、类型信息和调用情况,向用户推荐相关的API,并且给出API调用的代码示例。实验表明APIBook在API搜索上比传统的检索模型更加有效。Software libraries become more and more complex in recent years. When working on unfamiliar fields and functions,developers often have to rely on search engine or reading API documents to develop program with right API. However,the result of traditional search engine doesn't focus on APIs and it is not very convenient to search in API documents,which makes this process very time consuming. We proposed a new search algorithm and implemented a tool APIBook for API search. APIBook can recommend relevant APIs to users based on natural language query as well as APIs' semantic,type,and invocation information in software libraries. Experiment shows that APIBook is more effective than traditional search model.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222