Score: 0

Developing controlled natural language for formal specification patterns using AI assistants

Published: December 30, 2025 | arXiv ID: 2512.24159v1

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.

Category
Computer Science:
Software Engineering