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 条
  • [1] Adedjouma M, 2014, INT REQUIR ENG CONF, P63, DOI 10.1109/RE.2014.6912248
  • [2] [Anonymous], 2012, MULTILINGUAL NOUN PH
  • [3] [Anonymous], 2012, VISIBLE THREAD TOOL
  • [4] [Anonymous], 2012, THE INTEGREAT TOOL
  • [5] [Anonymous], 2008, TIGER PRO TOOL INGES
  • [6] [Anonymous], 2004, THE LEXIOR TOOL
  • [7] [Anonymous], 2014, GATE ANNIE NEARLY NE
  • [8] [Anonymous], 2003, Stanford Log-linear Part-Of-Speech Tagger.
  • [9] [Anonymous], 2014, The Stanford Parser: A statistical parser
  • [10] [Anonymous], 2013, LIST REGULATORY GUID