Automated Checking of Conformance to Requirements Templates Using Natural Language Processing

被引:104
作者
Arora, Chetan [1 ]
Sabetzadeh, Mehrdad [1 ]
Briand, Lionel [1 ]
Zimmer, Frank [2 ]
机构
[1] Univ Luxembourg, SnT Ctr Secur Reliabil & Trust, L-2721 Luxembourg, Luxembourg
[2] SES TechCom, Luxembourg, Luxembourg
关键词
Requirements templates; natural language processing (NLP); case study research; TRACEABILITY; EXTRACTION; SOFTWARE; SYSTEMS;
D O I
10.1109/TSE.2015.2428709
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Templates are effective tools for increasing the precision of natural language requirements and for avoiding ambiguities that may arise from the use of unrestricted natural language. When templates are applied, it is important to verify that the requirements are indeed written according to the templates. If done manually, checking conformance to templates is laborious, presenting a particular challenge when the task has to be repeated multiple times in response to changes in the requirements. In this article, using techniques from natural language processing (NLP), we develop an automated approach for checking conformance to templates. Specifically, we present a generalizable method for casting templates into NLP pattern matchers and reflect on our practical experience implementing automated checkers for two well-known templates in the requirements engineering community. We report on the application of our approach to four case studies. Our results indicate that: (1) our approach provides a robust and accurate basis for checking conformance to templates; and (2) the effectiveness of our approach is not compromised even when the requirements glossary terms are unknown. This makes our work particularly relevant to practice, as many industrial requirements documents have incomplete glossaries.
引用
收藏
页码:944 / 968
页数:25
相关论文
共 70 条
  • [41] Toward Automating Requirements Satisfaction Assessment
    Holbrook, E. Ashlee
    Hayes, Jane Huffman
    Dekhtyar, Alex
    [J]. PROCEEDINGS OF THE 2009 17TH IEEE INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE, 2009, : 149 - 158
  • [42] Joseph S, 2013, IEEE GLOB ENG EDUC C, P1305, DOI 10.1109/EduCon.2013.6530275
  • [43] Jurafsky D., 2019, Speech & language processing
  • [44] Requirements for tools for ambiguity identification and measurement in natural language requirements specifications
    Kiyavitskaya, Nadzeya
    Zeni, Nicola
    Mich, Luisa
    Berry, Daniel M.
    [J]. REQUIREMENTS ENGINEERING, 2008, 13 (03) : 207 - 239
  • [45] Kiyavitskaya N, 2008, LECT NOTES COMPUT SC, V5231, P154, DOI 10.1007/978-3-540-87877-3_13
  • [46] Ontology and Model Alignment as a Means for Requirements Validation
    Kof, Leonid
    Gacitua, Ricardo
    Rouncefield, Mark
    Sawyer, Pete
    [J]. 2010 IEEE FOURTH INTERNATIONAL CONFERENCE ON SEMANTIC COMPUTING (ICSC 2010), 2010, : 46 - 51
  • [47] Marcus M., 1993, COMPUT LINGUIST, V19, P313
  • [48] Marcus Mitchell P., 1995, third Workshop on Very Large Corpora, P82
  • [49] Mavin A., 2010, Proceedings of the 2010 IEEE 18th International Conference on Requirements Engineering (RE2010), P277, DOI 10.1109/RE.2010.39
  • [50] Listen, Then Use EARS
    Mavin, Alistair
    [J]. IEEE SOFTWARE, 2012, 29 (02) : 17 - 18