Journal of Computer Applications ›› 2019, Vol. 39 ›› Issue (5): 1299-1304.DOI: 10.11772/j.issn.1001-9081.2018102150

• Artificial intelligence • Previous Articles     Next Articles

Semantic judgement method of polysemous keywords in dynamic requirement traceability

TANG Chen1,2, LI Yonghua1,2, RAO Mengni1,2, HU Gangjun1,2   

  1. 1. School of Computer Science and Technology, Wuhan University of Technology, Wuhan Hubei 430063, China;
    2. Hubei Key Laboratory of Transportation Internet of Things, Wuhan University of Technology, Wuhan Hubei 430070, China
  • Received:2018-10-25 Revised:2019-01-11 Online:2019-05-10 Published:2019-05-14
  • Supported by:
    This work is partially supported by the Fundamental Research Funds for the Central Universities (2016III028).

动态需求跟踪中多义关键词的语义判断方法

唐晨1,2, 李勇华1,2, 饶梦妮1,2, 胡钢俊1,2   

  1. 1. 武汉理工大学 计算机科学与技术学院, 武汉 430063;
    2. 武汉理工大学 交通物联网技术湖北省重点实验室, 武汉 430070
  • 通讯作者: 唐晨
  • 作者简介:唐晨(1994-),男,湖北孝感人,硕士研究生,主要研究方向:软件需求工程;李勇华(1977-),男,湖北武汉人,副教授,博士,主要研究方向:软件需求工程、软件测试;饶梦妮(1993-),女,湖北武汉人,硕士,主要研究方向:软件需求工程;胡钢俊(1994-),湖北黄冈人,硕士研究生,主要研究方向:软件需求工程。
  • 基金资助:
    中央高校基本科研业务费专项资金资助项目(2016III028)。

Abstract: Although ontology-based dynamic requirement traceability methods can improve the accuracy of trace links compared with Information Retrieval (IR), but it is rather complicated and tedious to construct a reasonable and effective ontology, especially domain ontology. In order to reduce time cost and labor cost brought by the domain ontology construction, a Modifier Ontology-based Keyword Semantic Judgment Method (MOKSJM) which combined modifiers with general ontology was proposed. Firstly, the collocation relationship between keywords and modifiers was analyzed. Then, the semantics of keywords were determined by combining modifier ontologies with rules, so as to avoid the bias of dynamic requirements traceability results caused by the polysemy of keywords. Finally, based on results of the above analysis, the semantics of keywords were adjusted and reflected by similarity scores. The number of modifiers is small in the requirements document, design documents, etc., so the time cost and labor cost brought by establishing the modifier ontology is relatively small. The experimental results show that compared to domain ontology-based dynamic requirement traceability method, MOKSJM has a small gap in precision with the same recall rate, and when compared to Vector Space Model (VSM) method, MOKSJM can effectively improve the accuracy of the requirements traceability result.

Key words: dynamic requirements traceability, ontology, modifier, requirements engineering, software engineering

摘要: 虽然与信息检索(IR)方法相比,基于本体的动态需求跟踪方法能提高跟踪链的精度,但构建一个合理、有效的本体特别是领域本体是一个相当复杂和繁琐的过程。为了减小构建领域本体带来的时间成本和人力成本,通过将修饰词和通用本体相结合,提出基于修饰词本体的关键词语义判断方法(MOKSJM)。首先,对关键词和修饰词的搭配关系进行分析;然后,采用修饰词本体结合规则的方式来确定关键词的语义,以避免关键词的多义性对动态需求跟踪结果造成的偏差;最后,根据上述分析的结果,对关键词语义作出调整,并通过相似度得分来体现其语义。修饰词在需求文档、设计文档等中数量较少,因此建立修饰词本体所带来的时间成本和人力成本相对较小。实验结果表明,MOKSJM与基于领域本体的动态跟踪方法在召回率相当时,精度差距更小;与向量空间模型(VSM)方法相比,MOKSJM能有效提高需求跟踪结果的精度。

关键词: 动态需求跟踪, 本体, 修饰词, 需求工程, 软件工程

CLC Number: