Automated Mining and Checking of Formal Properties in Natural Language Requirements

被引:1
|
作者
Pi, Xingxing [1 ]
Shi, Jianqi [1 ,2 ]
Huang, Yanhong [1 ,3 ]
Wei, Hansheng [1 ]
机构
[1] East China Normal Univ, Natl Trusted Embedded Software Engn Technol Res C, Shanghai, Peoples R China
[2] Res Ctr, Hardware Software Codesign Technol & Applicat Eng, Shanghai, Peoples R China
[3] Shanghai Key Lab Trustworthy Comp, Shanghai, Peoples R China
基金
中国国家自然科学基金;
关键词
D O I
10.1007/978-3-030-29563-9_8
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Bridging the gap between natural language requirements (NLR) and precise formal specifications is a crucial task of knowledge engineering. Software system development has become more complex in recent years, and it includes many requirements in different domains that users need to understand. Many of these requirements are expressed in natural language, which may be incomplete and ambiguous. However, the formal language with its rigorous semantics may accurately represent certain temporal logic properties and allow for automatic validation analysis. It is difficult for software engineers to understand the formal temporal logic from numerous requirements. In this paper, we propose a novel method to automatically mine the linear temporal logic (LTL) from the natural language requirements and check the consistency among different formal properties. We use natural language processing (NLP) to parse requirement sentences and map syntactic dependencies to LTL formulas by using our extraction rules. Also, we apply the automata-based model checking to assess the correctness and consistency of the extracted properties. Through implementation and case studies, we demonstrate that our approach is well suited to deal with the temporal logic requirements upon which the natural language is based.
引用
收藏
页码:75 / 87
页数:13
相关论文
共 50 条
  • [1] Automated Checking of Conformance to Requirements Templates Using Natural Language Processing
    Arora, Chetan
    Sabetzadeh, Mehrdad
    Briand, Lionel
    Zimmer, Frank
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2015, 41 (10) : 944 - 968
  • [2] Automated Conditional Statements Checking for Complete Natural Language Requirements Specification
    Liu, Chun
    Zhao, Zhengyi
    Zhang, Lei
    Li, Zheng
    APPLIED SCIENCES-BASEL, 2021, 11 (17):
  • [3] Generation of Formal Requirements from Structured Natural Language
    Giannakopoulou, Dimitra
    Pressburger, Thomas
    Mavridou, Anastasia
    Schumann, Johann
    REQUIREMENTS ENGINEERING: FOUNDATION FOR SOFTWARE QUALITY (REFSQ 2020), 2020, 12045 : 19 - 35
  • [4] Automated formalization of structured natural language requirements
    Giannakopoulou, Dimitra
    Pressburger, Thomas
    Mavridou, Anastasia
    Schumann, Johann
    INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 137
  • [5] RCM-Extractor: Automated Extraction of a Semi Formal Representation Model from Natural Language Requirements
    Zaki-Ismail, Aya
    Osama, Mohamed
    Abdelrazek, Mohamed
    Grundy, John
    Ibrahim, Amani
    PROCEEDINGS OF THE 9TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT (MODELSWARD), 2021, : 270 - 277
  • [6] Translating Software Requirements from Natural Language to Formal Specification
    Fatwanto, Agung
    2012 IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND CYBERNETICS (CYBERNETICSCOM), 2012, : 148 - 152
  • [7] From Natural Language Requirements to Formal Specification using an Ontology
    Sadoun, Driss
    Dubois, Catherine
    Ghamri-Doudane, Yacine
    Grau, Brigitte
    2013 IEEE 25TH INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE (ICTAI), 2013, : 755 - 760
  • [8] Automated Smell Detection and Recommendation in Natural Language Requirements
    Veizaga, Alvaro
    Shin, Seung Yeob
    Briand, Lionel C.
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2024, 50 (04) : 695 - 720
  • [9] Automated Translation of Natural Language Requirements to Runtime Monitors
    Perez, Ivan
    Mavridou, Anastasia
    Pressburger, Tom
    Goodloe, Alwyn
    Giannakopoulou, Dimitra
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, TACAS 2022, PT I, 2022, 13243 : 387 - 395
  • [10] Formal properties of natural language and linguistic theories
    Culy, C
    LINGUISTICS AND PHILOSOPHY, 1996, 19 (06) : 599 - 617