Litcius/Paper detail

Towards automatically extracting UML class diagrams from natural language specifications

Yang Song, Houari Sahraoui

202235 citationsDOIOpen Access PDF

Abstract

In model-driven engineering (MDE), UML class diagrams serve as a way to plan and communicate between developers. However, it is complex and resource-consuming. We propose an automated approach for the extraction of UML class diagrams from natural language software specifications. To develop our approach, we create a dataset of UML class diagrams and their English specifications with the help of volunteers. Our approach is a pipeline of steps consisting of the segmentation of the input into sentences, the classification of the sentences, the generation of UML class diagram fragments from sentences, and the composition of these fragments into one UML class diagram. We develop a quantitative testing framework specific to UML class diagram extraction. Our approach yields low precision and recall but serves as a benchmark for future research.

Topics & Concepts

Class diagramComputer scienceUnified Modeling LanguageUML toolApplications of UMLCommunication diagramProgramming languageActivity diagramObject Constraint LanguageClass (philosophy)Systems Modeling LanguagePrecision and recallSoftware engineeringNatural language processingArtificial intelligenceSoftwareSoftware Engineering ResearchModel-Driven Software Engineering TechniquesAdvanced Software Engineering Methodologies
Towards automatically extracting UML class diagrams from natural language specifications | Litcius