Developing controlled natural language for formal specification patterns using AI assistants
By: Natalia Garanina, Vladimir Zyubin, Igor Anureev
Using an AI assistant, we developed a method for systematically constructing controlled natural language for requirements based on formal specification patterns containing logical attributes. The method involves three stages: 1) compiling a generalized natural language requirement pattern that utilizes all attributes of the formal specification template; 2) generating, using the AI assistant, a corpus of natural language requirement patterns, reduced by partially evaluating attributes (the developed prompt utilizes the generalized template, attribute definitions, and specific formal semantics of the requirement patterns); and 3) formalizing the syntax of the controlled natural language based on an analysis of the grammatical structure of the resulting patterns. The method has been tested for event-driven temporal requirements.
Similar Papers
Automated Formalization of Probabilistic Requirements from Structured Natural Language
Programming Languages
Helps computers understand uncertain rules for robots.
Towards A Catalogue of Requirement Patterns for Space Robotic Missions
Logic in Computer Science
Makes robot missions safer by checking their instructions.
Formalising Software Requirements using Large Language Models
Software Engineering
Helps make sure computer code matches what people want.