Automated Generating Natural Language Requirements based on Domain Ontology

11/30/2022
by   Ziyan Zhao, et al.
0

Software requirements specification is undoubtedly critical for the whole software life-cycle. Nowadays, writing software requirements specifications primarily depends on human work. Although massive studies have been proposed to fasten the process via proposing advanced elicitation and analysis techniques, it is still a time-consuming and error-prone task that needs to take domain knowledge and business information into consideration. In this paper, we propose an approach, named ReqGen, which can provide recommendations by automatically generating natural language requirements specifications based on certain given keywords. Specifically, ReqGen consists of three critical steps. First, keywords-oriented knowledge is selected from domain ontology and is injected to the basic Unified pre-trained Language Model (UniLM) for domain fine-tuning. Second, a copy mechanism is integrated to ensure the occurrence of keywords in the generated statements. Finally, a requirement syntax constrained decoding is designed to close the semantic and syntax distance between the candidate and reference specifications. Experiments on two public datasets from different groups and domains show that ReqGen outperforms six popular natural language generation approaches with respect to the hard constraint of keywords(phrases) inclusion, BLEU, ROUGE and syntax compliance. We believe that ReqGen can promote the efficiency and intelligence of specifying software requirements.

READ FULL TEXT
research
05/11/2023

Automated Smell Detection and Recommendation in Natural Language Requirements

Requirement specifications are typically written in natural language (NL...
research
08/14/2022

A Preliminary Study on the Potential Usefulness of Open Domain Model for Missing Software Requirements Recommendation

Completeness is one of the most important attributes of software require...
research
11/07/2018

Towards ontology based BPMN Implementation

Natural language is understandable by human and not machine. None techni...
research
10/26/2015

Object Oriented Analysis using Natural Language Processing concepts: A Review

The Software Development Life Cycle (SDLC) starts with eliciting require...
research
11/17/2017

Towards operational natural language

The multiplicity of software projects' stakeholders and activities leads...
research
03/19/2022

Domain Representative Keywords Selection: A Probabilistic Approach

We propose a probabilistic approach to select a subset of a target domai...
research
08/24/2023

Requirements Quality Assurance in Industry: Why, What and How?

Context and Motivation: Natural language is the most common form to spec...

Please sign up or login with your details

Forgot password? Click here to reset