首页> 外文期刊>Services Computing, IEEE Transactions on >Leveraging Official Content and Social Context to Recommend Software Documentation
【24h】

Leveraging Official Content and Social Context to Recommend Software Documentation

机译:利用官方内容和社会背景推荐软件文档

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

For an unfamiliar Application Programming Interface (API), software developers often access the official documentation to learn its usage, and post questions related to this API on social question and answering (Q&A) sites to seek solutions. The official software documentation often captures the information about functionality and parameters, but lacks detailed descriptions in different usage scenarios. On the contrary, the discussions about APIs on social Q&A sites provide enriching usages. Moreover, existing code search engines and information retrieval systems cannot effectively return relevant software documentation when the issued query does not contain code snippets or API-like terms. In this paper, we present CnCxL2R, a software documentation recommendation strategy incorporating the content of official documentation and the social context on Q&A into a learning-to-rank schema. In the proposed strategy, the content, local context and global context of documentation are considered to select candidate documents. Then four types of features are extracted to learn a ranking model. We conduct a large-scale automatic evaluation on Java documentation recommendation. The results show that CnCxL2R achieves state-of-the-art performance over the eight baseline models. We also compare the CnCxL2R with Google search. The results show that CnCxL2R can recommend more relevant software documentation, and can effectively capture the semantic between the high-level intent in developers' queries and the low-level implementation in software documentation.
机译:对于一个不熟悉的应用程序编程接口(API),软件开发人员经常访问官方文档以了解其使用情况,并在社交问题和回答(Q&A)站点上与此API相关的问题以寻求解决方案。官方软件文档通常捕获有关功能和参数的信息,但缺少不同使用情况的详细描述。相反,关于社会问答网站的API的讨论提供丰富的用法。此外,当颁发的查询不包含代码片段或API术语时,现有代码搜索引擎和信息检索系统无法有效地返回相关的软件文档。在本文中,我们提出了CNCXL2R,该软件文档推荐策略,将官方文档的内容和Q&A上的社会背景纳入学习 - 排名模式。在拟议的策略中,文档的内容,本地上下文和全局背景被认为是选择候选文件。然后提取四种类型的特征以学习排名模型。我们对Java文档建议进行大规模的自动评估。结果表明,CNCXL2R通过八个基线模型实现最先进的性能。我们还将CNCXL2R与Google搜索进行比较。结果表明,CNCXL2R可以推荐更相关的软件文档,可以有效地捕获开发人员查询中的高级意图与软件文档中的低级实现之间的语义。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号