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 条
  • [41] An Automated Approach to Generate SysML Models from Restricted Natural Language Requirements in Chinese
    Bao Y.
    Yang Z.
    Yang Y.
    Xie J.
    Zhou Y.
    Yue T.
    Huang Z.
    Guo P.
    Yang, Zhibin (yangzhibin168@163.com), 2021, Science Press (58): : 706 - 730
  • [42] Automated model and test generation from textual requirements: The use of Natural Language Processing
    Gröpler R.
    Sudhi V.
    Kutty L.
    VDI Berichte, 2022, 2022 (2399): : 521 - 532
  • [43] A feasibility study of automated natural language requirements analysis in market-driven development
    Natt Och Dag J.
    Regnell B.
    Carlshamre P.
    Andersson M.
    Karlsson J.
    Requirements Engineering, 2002, 7 (1) : 20 - 33
  • [44] Automated Requirements Identification from Construction Contract Documents Using Natural Language Processing
    Hassan, Fahad Ul
    Le, Tuyen
    JOURNAL OF LEGAL AFFAIRS AND DISPUTE RESOLUTION IN ENGINEERING AND CONSTRUCTION, 2020, 12 (02)
  • [45] Automated Prototype Generation From Formal Requirements Model
    Yang, Yilong
    Li, Xiaoshan
    Ke, Wei
    Liu, Zhiming
    IEEE TRANSACTIONS ON RELIABILITY, 2020, 69 (02) : 632 - 656
  • [46] From formal requirements to automated web testing and prototyping
    Brasil de Matos, Ernesto Cid
    Sousa, Thiago C.
    INNOVATIONS IN SYSTEMS AND SOFTWARE ENGINEERING, 2010, 6 (1-2) : 163 - 169
  • [47] Just Formal Enough? Automated Analysis of EARS Requirements
    Lucio, Levi
    Rahman, Salman
    Cheng, Chih-Hong
    Mavin, Alistair
    NASA FORMAL METHODS (NFM 2017), 2017, 10227 : 427 - 434
  • [48] Rule capture of automated compliance checking of building requirements: a review
    Zhang Z.
    Broyd T.
    Ma L.
    Proceedings of the Institution of Civil Engineers: Smart Infrastructure and Construction, 2023, 176 (04) : 224 - 238
  • [49] Unpacking Ambiguity in Building Requirements to Support Automated Compliance Checking
    Zhang, Zijing
    Ma, Ling
    Nisbet, Nicholas
    JOURNAL OF MANAGEMENT IN ENGINEERING, 2023, 39 (05)
  • [50] Automated Paraphrasing of Portuguese Informal into Formal Language
    Barreiro, Anabela
    Rebelo-Arnold, Ida
    Baptista, Jorge
    Mota, Cristina
    Garcez, Isabel
    LINGUAMATICA, 2018, 10 (02): : 53 - 61