软件导刊2025,Vol.24Issue(3):48-59,12.DOI:10.11907/rjdk.241756
基于文本需求的需求模型自动生成方法
Automatic Generation Method of Requirement Model Based on Text Requirement
摘要
Abstract
During the requirements phase of software development,ambiguity and vagueness in textual requirements can lead to inconsisten-cies between subsequent software artifacts and the requirements description.This makes it challenging to ensure a smooth software develop-ment process and the quality of the final product.To address the inconsistency between textual requirements and the generated requirements model(UML class diagram),we propose a new method based on natural language processing for automatically generating requirements mod-els from textual requirements.This method extracts information from textual requirements,analyzes the natural language text,converts it into a formal model,and ultimately generates a requirements model.A prototype tool was developed to implement consistency checking of textual requirements and automatic generation of requirements models.Case studies show that the proposed method helps software development teams better understand textual requirements,reduce incon-sistencies,and thereby improve the efficiency and quality of the software development process.关键词
文本需求/软件开发/自然语言处理/不一致性/需求模型/类图Key words
textual requirements/software development/natural language processing/inconsistency/requirements model/class diagram分类
计算机与自动化引用本文复制引用
马国栋,蒋建民,陈阵..基于文本需求的需求模型自动生成方法[J].软件导刊,2025,24(3):48-59,12.基金项目
国家自然科学基金项目(61772004) (61772004)
科技部重点研发计划项目(2022YFB3305101) (2022YFB3305101)
成都信息工程大学人才科研基金项目(KYTZ202009) (KYTZ202009)