Cargando…
On systematically building a controlled natural language for functional requirements
Natural language (NL) is pervasive in software requirements specifications (SRSs). However, despite its popularity and widespread use, NL is highly prone to quality issues such as vagueness, ambiguity, and incompleteness. Controlled natural languages (CNLs) have been proposed as a way to prevent qua...
Autores principales: | , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Springer US
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8550625/ https://www.ncbi.nlm.nih.gov/pubmed/34776756 http://dx.doi.org/10.1007/s10664-021-09956-6 |
_version_ | 1784590993705664512 |
---|---|
author | Veizaga, Alvaro Alferez, Mauricio Torre, Damiano Sabetzadeh, Mehrdad Briand, Lionel |
author_facet | Veizaga, Alvaro Alferez, Mauricio Torre, Damiano Sabetzadeh, Mehrdad Briand, Lionel |
author_sort | Veizaga, Alvaro |
collection | PubMed |
description | Natural language (NL) is pervasive in software requirements specifications (SRSs). However, despite its popularity and widespread use, NL is highly prone to quality issues such as vagueness, ambiguity, and incompleteness. Controlled natural languages (CNLs) have been proposed as a way to prevent quality problems in requirements documents, while maintaining the flexibility to write and communicate requirements in an intuitive and universally understood manner. In collaboration with an industrial partner from the financial domain, we systematically develop and evaluate a CNL, named Rimay, intended at helping analysts write functional requirements. We rely on Grounded Theory for building Rimay and follow well-known guidelines for conducting and reporting industrial case study research. Our main contributions are: (1) a qualitative methodology to systematically define a CNL for functional requirements; this methodology is intended to be general for use across information-system domains, (2) a CNL grammar to represent functional requirements; this grammar is derived from our experience in the financial domain, but should be applicable, possibly with adaptations, to other information-system domains, and (3) an empirical evaluation of our CNL (Rimay) through an industrial case study. Our contributions draw on 15 representative SRSs, collectively containing 3215 NL requirements statements from the financial domain. Our evaluation shows that Rimay is expressive enough to capture, on average, 88% (405 out of 460) of the NL requirements statements in four previously unseen SRSs from the financial domain. |
format | Online Article Text |
id | pubmed-8550625 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | Springer US |
record_format | MEDLINE/PubMed |
spelling | pubmed-85506252021-11-10 On systematically building a controlled natural language for functional requirements Veizaga, Alvaro Alferez, Mauricio Torre, Damiano Sabetzadeh, Mehrdad Briand, Lionel Empir Softw Eng Article Natural language (NL) is pervasive in software requirements specifications (SRSs). However, despite its popularity and widespread use, NL is highly prone to quality issues such as vagueness, ambiguity, and incompleteness. Controlled natural languages (CNLs) have been proposed as a way to prevent quality problems in requirements documents, while maintaining the flexibility to write and communicate requirements in an intuitive and universally understood manner. In collaboration with an industrial partner from the financial domain, we systematically develop and evaluate a CNL, named Rimay, intended at helping analysts write functional requirements. We rely on Grounded Theory for building Rimay and follow well-known guidelines for conducting and reporting industrial case study research. Our main contributions are: (1) a qualitative methodology to systematically define a CNL for functional requirements; this methodology is intended to be general for use across information-system domains, (2) a CNL grammar to represent functional requirements; this grammar is derived from our experience in the financial domain, but should be applicable, possibly with adaptations, to other information-system domains, and (3) an empirical evaluation of our CNL (Rimay) through an industrial case study. Our contributions draw on 15 representative SRSs, collectively containing 3215 NL requirements statements from the financial domain. Our evaluation shows that Rimay is expressive enough to capture, on average, 88% (405 out of 460) of the NL requirements statements in four previously unseen SRSs from the financial domain. Springer US 2021-06-09 2021 /pmc/articles/PMC8550625/ /pubmed/34776756 http://dx.doi.org/10.1007/s10664-021-09956-6 Text en © The Author(s) 2021 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . |
spellingShingle | Article Veizaga, Alvaro Alferez, Mauricio Torre, Damiano Sabetzadeh, Mehrdad Briand, Lionel On systematically building a controlled natural language for functional requirements |
title | On systematically building a controlled natural language for functional requirements |
title_full | On systematically building a controlled natural language for functional requirements |
title_fullStr | On systematically building a controlled natural language for functional requirements |
title_full_unstemmed | On systematically building a controlled natural language for functional requirements |
title_short | On systematically building a controlled natural language for functional requirements |
title_sort | on systematically building a controlled natural language for functional requirements |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8550625/ https://www.ncbi.nlm.nih.gov/pubmed/34776756 http://dx.doi.org/10.1007/s10664-021-09956-6 |
work_keys_str_mv | AT veizagaalvaro onsystematicallybuildingacontrollednaturallanguageforfunctionalrequirements AT alferezmauricio onsystematicallybuildingacontrollednaturallanguageforfunctionalrequirements AT torredamiano onsystematicallybuildingacontrollednaturallanguageforfunctionalrequirements AT sabetzadehmehrdad onsystematicallybuildingacontrollednaturallanguageforfunctionalrequirements AT briandlionel onsystematicallybuildingacontrollednaturallanguageforfunctionalrequirements |