TY - JOUR
T1 - Automated checking of conformance to requirements templates using natural language processing
AU - Arora, Chetan
AU - Sabetzadeh, Mehrdad
AU - Briand, Lionel
AU - Zimmer, Frank
N1 - Publisher Copyright:
© 1976-2012 IEEE.
PY - 2015/10/1
Y1 - 2015/10/1
N2 - 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.
AB - 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.
KW - Case Study Research
KW - Natural Language Processing (NLP)
KW - Requirements Templates
UR - http://www.scopus.com/inward/record.url?scp=84945138316&partnerID=8YFLogxK
U2 - 10.1109/TSE.2015.2428709
DO - 10.1109/TSE.2015.2428709
M3 - Article
AN - SCOPUS:84945138316
SN - 0098-5589
VL - 41
SP - 944
EP - 968
JO - IEEE Transactions on Software Engineering
JF - IEEE Transactions on Software Engineering
IS - 10
M1 - 7100933
ER -