首页> 外文会议>Asia-Pacific Software Engineering Conference >An Improved Approach to Traceability Recovery Based on Word Embeddings
【24h】

An Improved Approach to Traceability Recovery Based on Word Embeddings

机译:一种基于词嵌入的改进的可追溯性恢复方法

获取原文

摘要

Software traceability recovery, which reconstructs links between software artifacts, has become more and more vital to maintaining a software life cycle with the increase of software scale and complexity of software architecture. However, existing approaches mainly rely on information retrieval (IR) techniques. These methods are not very efficient at complex software artifacts which are mixed with multilingual texts, code snippets and proper nouns. Moreover, it is hard to predict new traceability links with existing approaches when requirements are changed or software functions are added, since these methods have not made the most of the final ranked lists. In this paper, we propose a novel approach WELR, based on word embeddings and learning to rank to recover traceability links. We use word embeddings to calculate semantic similarities between software artifacts and bring in query expansion and a weighting strategy during calculation. Different from other work, we leverage learning to rank to build prediction models for traceability links. We conducted experiments on five public datasets and took account of traceability links among different kinds of software artifacts. The results show that our method outperforms the state-of-the-art method that works under the same conditions.
机译:随着软件规模的增加和软件体系结构的复杂性的提高,重构软件工件之间的链接的软件可追溯性恢复对于维持软件生命周期变得越来越重要。但是,现有方法主要依赖于信息检索(IR)技术。这些方法在混合了多语言文本,代码段和专有名词的复杂软件工件中不是很有效。此外,当需求发生变化或添加软件功能时,很难预测与现有方法的新可追溯性链接,因为这些方法并未充分利用最终排名列表。在本文中,我们提出了一种新颖的WELR方法,该方法基于单词嵌入和学习排序以恢复可追溯性链接。我们使用词嵌入来计算软件工件之间的语义相似度,并在计算过程中引入查询扩展和加权策略。与其他工作不同,我们利用学习进行排名,以建立可追溯性链接的预测模型。我们对五个公共数据集进行了实验,并考虑了各种软件工件之间的可追溯性链接。结果表明,我们的方法优于在相同条件下工作的最新方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号