Formalizing and Verifying Natural Language System Requirements using Petri Nets and Context based Reasoning

Natural language descriptions are generally used to describe requirements in reactive systems. Translating the natural language requirements to a more formal specification is a challenging task. One possible approach to handle complex natural language requirements is to convert them to an intermediary formal representation. This intermediate representation is further converted into a more formal representation such as EDT (Expressive Decision Tables). In this paper, we use Petri nets in combination with domain based context reasoning as a tool to model natural language requirements. We have also built a tool, NatEDT, to generate EDT specifications. In a case study, consisting of natural language requirements across three domains, our experimental results show that Petri nets provide an efficient way of formalizing natural language requirements.

[1]  Imran Sarwar Bajwa,et al.  NL2 Alloy: A Tool to Generate Alloy from NL Constraints , 2012, J. Digit. Inf. Manag..

[2]  Julio Cesar Sampaio do Prado Leite,et al.  Analysis of Scenarios with Petri-Net Models , 2015, 2015 29th Brazilian Symposium on Software Engineering.

[3]  R. Lathe Phd by thesis , 1988, Nature.

[4]  Mihai Surdeanu,et al.  The Stanford CoreNLP Natural Language Processing Toolkit , 2014, ACL.

[5]  Natarajan Shankar,et al.  ARSENAL: Automatic Requirements Specification Extraction from Natural Language , 2014, NFM.

[6]  Yacine Ghamri-Doudane,et al.  From Natural Language Requirements to Formal Specification Using an Ontology , 2013, 2013 IEEE 25th International Conference on Tools with Artificial Intelligence.

[7]  Supriya Agrawal,et al.  EDT: A specification notation for reactive systems , 2014, 2014 Design, Automation & Test in Europe Conference & Exhibition (DATE).

[8]  Ali Selamat,et al.  Information and Software Technology , 2014 .

[9]  Georg Grossmann,et al.  Formalising Natural Language Specifications Using a Cognitive Linguistics/Configuration Based Approach , 2013, 2013 17th IEEE International Enterprise Distributed Object Computing Conference.

[10]  Mark A. Musen,et al.  The protégé project: a look back and a look forward , 2015, SIGAI.

[11]  Augusto Sampaio,et al.  A Formal Model for Natural-Language Timed Requirements of Reactive Systems , 2014, ICFEM.

[12]  Martin Böschen,et al.  Bridging the Gap between Natural Language Requirements and Formal Specifications , 2016, REFSQ Workshops.