Year: 2022
Type: article
Abstract: The natural language contains ambiguity, so specifications written in natural language can cause software bugs.VDM is one of the formal methods to write the specification without ambiguity. Writing VDM++ specification is difficult because it has a strict syntax and requires writing data types and system invariant conditions. Our laboratory proposed a method for automatically generating VDM++ specifications from natural language specifications using machine learning. However, the existing method is not useful because it only supports type definitions and constant definitions in the VDM++ specification. This paper proposes a method to generate classes and instance variable definitions in the VDM++ specification from natural language specification. The superordinate and subordinate relationships between words are quantified, and then they are used as new parameters for machine learning. It is confirmed that the proposed method has given more useful results than the existing method.
Authors: Suga, Kensuke, Katayama, Tetsuro
Institution: University of Miyazaki
Language: Japanese
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7145486990
