计算机科学 ›› 2025, Vol. 52 ›› Issue (6A): 240900155-4.doi: 10.11896/jsjkx.240900155
李嘉威1, 邓媛丹2,3, 陈波1
LI Jiawei1 , DENG Yuandan2,3, CHEN Bo1
摘要: 提出了一种基于大模型微调技术的领域UML(统一建模语言)自动构建系统,用于将各领域软件系统制作需求的自然语言描述自动转换为符合统一建模语言标准的UML类图。研究过程包括自然文本数据集构建、模型微调、量化部署以及前端交互界面的开发。通过此系统,非专业用户可以通过简单的自然语言输入,自动生成符合统一建模语言标准的UML类图,大大降低了时间和人力成本。
中图分类号:
[1]OUYANG L B,GUO H L. Automatic analysis modeling methodbased on structural description of domain requirements[J]. Computer Engineering and Applications,2016,52(20):52-57. [2]ALAMI N,ARMAN N,KHAMYSEH F. A semi-automatedapproach for generating sequence diagrams from Arabic user requirements using a natural language processing tool[C]//2017 8th International Conference on Information Technology(ICIT). IEEE,2017:309-314. [3]XU Q. The Design and Implementation of UML Diagram Construction and Content Management System Based on PlantUML[D].Nanjing:Nanjing Univercity,2020. [4]IBRAHIM M,AHMAD R. Class diagram extraction from tex-tual requirements using natural language processing(NLP) techniques[C]//2010 Second International Conference on Computer Research and Development.IEEE,2010:200-204. [5]WANG X. Design and Implementation of UML Model Generation Tool Based on NLP Technology[D].Beijing:Beijing University Of Posts And Teleecommunications,2020. [6]PlantUML Language Reference Guide.Drawing UML with PlantUML[EB/OL].(2023-11)[2024-09-01].https://plantuml.com/en/guide. [7]HAN D. Introducing Unsloth:30x faster LLM training [EB/OL].(2023-11-30)[2024-09-01].https://unsloth.ai/introducing. [8]OMG. About the Unified Modeling Language Specification Version2.5.1[EB/OL].(2017-12)[2024-09-01].https://www.omg.org/spec/UML. [9]GOUTTE C,GAUSSIER E.A probabilistic interpretationof precision,recall and F-score,with implication for evaluation[C]//European Conference on Information Retrieval. Berlin:Springer,2005:345-359. |
|