首页> 外文会议>Software Maintenance, 2009. ICSM 2009 >Recovering traceability links between a simple natural language sentence and source code using domain ontologies
【24h】

Recovering traceability links between a simple natural language sentence and source code using domain ontologies

机译:使用领域本体恢复简单自然语言句子和源代码之间的可追溯性链接

获取原文

摘要

This paper proposes an ontology-based technique for recovering traceability links between a natural language sentence specifying features of a software product and the source code of the product. Some software products have been released without detailed documentation. To automatically detect code fragments associated with the functional descriptions written in the form of simple sentences, the relationships between source code structures and problem domains are important. In our approach, we model the knowledge of the problem domains as domain ontologies. By using semantic relationships of the ontologies in addition to method invocation relationships and the similarity between an identifier on the code and words in the sentences, we can detect code fragments corresponding to the sentences. A case study within a domain of painting software shows that we obtained results of higher quality than without ontologies.
机译:本文提出了一种基于本体的技术,用于恢复指定软件产品功能的自然语言语句与产品源代码之间的可追溯性链接。某些软件产品已发布,没有详细的文档。为了自动检测与以简单句子形式编写的功能描述相关的代码片段,源代码结构与问题域之间的关系非常重要。在我们的方法中,我们将问题域的知识建模为领域本体。通过使用本体的语义关系以及方法调用关系以及代码上的标识符和句子中的单词之间的相似性,我们可以检测与句子相对应的代码片段。在绘画软件领域的案例研究表明,与没有本体论相比,我们获得了更高质量的结果。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号