Skip to content
Open access

An Intelligent Framework to Generate Use Case Diagrams and Class Diagrams from Requirements Documents

2026 · Journal of Communications Software and Systems · Vol 22, pp. 400-410 · 1 citation · 45 references

TL;DR

An automated framework is proposed based on Natural Language Processing (NLP) techniques to parse the software requirements syntactically using a set of heuristic rules that facilitate the extraction of actors, use cases, entities, relationships, and attributes from software requirements documents written in natural language.

Abstract

— Use case and class diagramming are essential requirements engineering techniques that play a pivotal role in modeling software specifications and facilitating the software development process. However, software requirements are often expressed in Natural Language (NL), which can be ambiguous, noisy, immeasurable, and open to interpretation. This research addresses these challenges by automatically extracting the required elements to generate use case and class diagrams from software requirements documents written in natural language. Accordingly, an automated framework is proposed based on Natural Language Processing (NLP) techniques—such as tokenization and part-of-speech tagging—to parse the software requirements syntactically using a set of heuristic rules. These rules facilitate the extraction of actors, use cases, entities, relationships, and attributes required for generating the corresponding diagrams. Furthermore, to enhance the framework’s performance, the k-nearest neighbor (k-NN) algorithm is employed to predict previously processed requirements and reduce redundant computation. The framework’s effectiveness was evaluated using two performance metrics: recall and precision. Experimental results show that the proposed approach achieves an average recall of 96% and an average precision of 92%, confirming its robustness and reliability.

Read PDF

Similar papers

Open access 2026

GTA: Automated Semantic NLP-Based Generation of UML Activity Diagrams from Acceptance Criteria

In agile development, user stories express stakeholder needs, and the associated acceptance criteria (AC), written in the Given/When/Then (GWT) notation, specify the behaviour expected of the system under stated preconditions. Their manual translation into UML activity diagrams is laborious and remains sensitive to wor...

Samia Nasiri, Salim Bloundi, M. Lahmer · 0 citations
Open access Aug 2026

LLM-based design document understanding for semantic knowledge extraction and design verification

Design documents contain essential design knowledge such as designers’ intent, decision-making criteria, and constraints, and are widely used to support accurate and consistent product development. Most design documents are extensive and composed of unstructured natural language-based text, which makes it difficult f...

Junho Kim, Sangwook Park, Seungeun Lim et al. · 0 citations
Preprint Aug 2026

From Natural Language Requirements to Graphical User Interfaces: Automated Prototyping and Verification with Pretrained Language Models

This work proposes LLM-based methods for verifying semantically complex NL requirements on static GUI prototypes and introduces a multimodal LLM-based agent for verifying complex functional and non-functional requirements in dynamic GUI applications through automatically generated and evaluated interaction trajectories...

Kristian Kolthoff · 0 citations
Conference Open access Aug 2026

Automated Generation of SysML Activity Diagrams from Industrial Requirements Using LLMs

Evaluated on real-world system-level requirements documents, comprising more than 720 requirements and 72 use cases, the approach generates system-level diagrams comparable to those created by experts and provides valuable architectural recommendations.

Bastian Franze, Dominik Fuchß, Friedrich Wattenberg et al. · 0 citations
Review Open access Aug 2026

Integrating large language models and knowledge graphs for adaptive design review

This paper presents a framework integrating Knowledge Graphs and Large Language Models to support a more extensible design review environment, and demonstrates its ability to retrieve and execute existing rules from the KG, capture new requests during design, and maintain a verifiable, adaptive compliance checking syst...

Maen Alnuzha, Tanya Bloch · 1 citation
Conference Jul 2026

Operationalizing Large Language Models for Automated Software Requirement Interpretation and Change Impact Analysis

In fast-evolving software systems, effective 'natural language requirements parsing' and downstream change effect analysis capability across a multitude of codes represents low-hanging-fruit in this regard. We present a structured framework to deploy Large Language Models (LLMs) for automating two essential software en...

Nithya Krishnan, Kumaran Ramanujam, Suresh Babu Narra et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.