Authors:
Murielle Souvenir Lokonon
1
and
Vinasetan Ratheil Houndji
2
Affiliations:
1
Ecole Polytechnique d’Abomey Calavi (EPAC), University of Abomey Calavi (UAC), Abomey-calavi, Benin
;
2
Institut de Formation et de Recherche en Informatique (IFRI), University of Abomey Calavi (UAC), Abomey-calavi, Benin
Keyword(s):
UML, Use Case Diagram, Machine Learning, Computer Vision.
Abstract:
Unified Modeling Language (UML) is a standardized modeling language used to design software systems. However, software engineering learners often have difficulties understanding UML and often repeat the same mistakes. Several solutions automatically correct UML diagrams. These solutions are generally restricted to the modeling tool used or need teachers’ intervention for providing exercises, answers, and other rules to consider for diagrams corrections. This paper proposes a tool that allows the automatic correction of UML diagrams by taking an image as input. The aim is to help UML practicers get automatic feedback on their diagrams regardless of how they have represented them. We have conducted our experiments on the use case diagrams. We have first built a dataset of images of the most elements encountered in the use case diagrams. Then, based on this dataset, we have trained some machine learning models using the Detectron2 library developed by Facebook AI Research (FAIR). Finall
y, we have used the model with the best performances and a predefined list of errors to set up a tool that can syntactically correct any use case diagram with relatively good precision. Thanks to its genericity, the use of this tool is easier and more practical than the state-of-the-art UML diagrams correction systems.
(More)