arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.14441cs.SEcs.IR
收藏

从自然语言规范中自动抽取UML类图的研究

Towards Automatically Extracting UML Class Diagrams from Natural Language Specifications

Song Yang, Houari Sahraoui

摘要:

在模型驱动工程(MDE)中,UML类图是开发人员之间进行计划和通信的一种方式。然而,它是复杂和消耗资源的。我们提出了一个自动化的方法提取UML类图从自然语言软件规格说明。为了开发我们的方法,我们在志愿者的帮助下创建了一个UML类图及其英文规范的数据集。我们的方法是一个管道的步骤组成的分割成句子的输入,句子的分类,从句子的UML类图片段的生成,并组成这些片段到一个UML类图。我们开发了一个定量测试框架,具体到UML类图提取。我们的方法产生低精度和召回率,但作为未来研究的基准。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑