首页> 外文会议>IEEE/ACM International Conference on Automated Software Engineering >Improving software text retrieval using conceptual knowledge in source code
【24h】

Improving software text retrieval using conceptual knowledge in source code

机译:使用源代码中的概念知识来改善软件文本检索

获取原文

摘要

A large software project usually has lots of various textual learning resources about its API, such as tutorials, mailing lists, user forums, etc. Text retrieval technology allows developers to search these API learning resources for related documents using free-text queries, but it suffers from the lexical gap between search queries and documents. In this paper, we propose a novel approach for improving the retrieval of API learning resources through leveraging software-specific conceptual knowledge in software source code. The basic idea behind this approach is that the semantic relatedness between queries and documents could be measured according to software-specific concepts involved in them, and software source code contains a large amount of software-specific conceptual knowledge. In detail, firstly we extract an API graph from software source code and use it as software-specific conceptual knowledge. Then we discover API entities involved in queries and documents, and infer semantic document relatedness through analyzing structural relationships between these API entities. We evaluate our approach in three popular open source software projects. Comparing to the state-of-the-art text retrieval approaches, our approach lead to at least 13.77% improvement with respect to mean average precision (MAP).
机译:大型软件项目通常具有许多有关其API的文本学习资源,例如教程,邮件列表,用户论坛等。文本检索技术允许开发人员使用自由文本查询在这些API学习资源中搜索相关文档,但是遭受搜索查询和文档之间的词汇鸿沟的困扰。在本文中,我们提出了一种通过利用软件源代码中特定于软件的概念知识来改进API学习资源检索的新颖方法。这种方法背后的基本思想是可以根据查询和文档中涉及的特定于软件的概念来度量查询和文档之间的语义相关性,并且软件源代码包含大量的特定于软件的概念知识。详细地说,首先,我们从软件源代码中提取API图,并将其用作特定于软件的概念知识。然后,我们发现查询和文档中涉及的API实体,并通过分析这些API实体之间的结构关系来推断语义文档的相关性。我们在三个流行的开源软件项目中评估了我们的方法。与最新的文本检索方法相比,我们的方法相对于平均平均精度(MAP)至少提高了13.77%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号