Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

From User Stories to UML Diagrams Driven by Ontological and Production Model

Author 1: Samia Nasiri Author 2: Yassine Rhazali Author 3: Mohammed Lahmer Author 4: Amina Adadi
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 12, No. 6 · Published 2021 · Cited by 19

DOI: https://doi.org/10.14569/IJACSA.2021.0120637

Abstract

The User Story format has become the most popular way of expressing requirements in Agile methods. However, a requirement does not state how a solution will be physically achieved. The purpose of this paper is to present a new approach that automatically transforms user stories into UML diagrams. Our approach aims to automatically generate UML diagrams, namely class, use cases, and package diagrams. User stories are written in natural language (English), so the use of a natural language processing tool was necessary for their processing. In our case, we have used Stanford core NLP. The automation approach consists of the combination of rules formulated as a predicate and an ontological model. Prolog rules are used to extract relationships between classes and eliminate those that are at risk of error. To extract the design elements, the prolog rules used dependencies offered by Stanford core NLP. An ontology representing the components of the user stories was created to identify equivalent relationships and inclusion use cases. The tool developed was implemented in the Python programming language and has been validated by several case studies.

Keywords

How to Cite this Article

Nasiri, S., Rhazali, Y., Lahmer, M., & Adadi, A. (2021). From User Stories to UML Diagrams Driven by Ontological and Production Model. International Journal of Advanced Computer Science and Applications, 12(6). https://doi.org/10.14569/IJACSA.2021.0120637

Nasiri, Samia, et al.. "From User Stories to UML Diagrams Driven by Ontological and Production Model." International Journal of Advanced Computer Science and Applications, vol. 12, no. 6, 2021, https://doi.org/10.14569/IJACSA.2021.0120637.

@article{Nasiri2021,
  title     = {From User Stories to UML Diagrams Driven by Ontological and Production Model},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {12},
  number    = {6},
  year      = {2021},
  publisher = {The Science and Information Organization},
  author    = {Samia Nasiri and Yassine Rhazali and Mohammed Lahmer and Amina Adadi},
  doi       = {10.14569/IJACSA.2021.0120637},
  url       = {https://doi.org/10.14569/IJACSA.2021.0120637}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.