Automatic Generation of UML Class Diagrams for Object-oriented Design and Programing Course

被引:0
|
作者
Chunyan Ma [1 ]
Jing Chen [1 ]
Zheng Chang [1 ]
Jiangbin Zheng [1 ]
机构
[1] School of Software, Northwestern Polytechnical University
关键词
D O I
10.16512/j.cnki.jsjjy.2021.12.024
中图分类号
TP311.1-4 []; G642 [教学理论、教学法]; TP391.1 [文字信息处理];
学科分类号
040102 ; 081202 ; 081203 ; 0835 ;
摘要
UML Class diagram generation from textual requirements is an important task in object-oriented design and programing course. This study proposes a method for automatically generating class diagrams from Chinese textual requirements on the basis of Natural Language Processing(NLP) and mapping rules for sentence pattern matching. First, classes are identified through entity recognition rules and candidate class pruning rules using NLP from requirements.Second, class attributes and relationships between classes are extracted using mapping rules for sentence pattern matching on the basis of NLP. Third, we developed an assistant tool integrated into a precision micro classroom system for automatic generation of class diagram, to effectively assist the teaching of object-oriented design and programing course. Results are evaluated with precision, accuracy and recall from eight requirements of object-oriented design and programing course using truth values created by teachers. Our research should benefit beginners of objectoriented design and programing course, who may be students or software developers. It helps them to create correct domain models represented in the UML class diagram.
引用
收藏
页码:157 / 165
页数:9
相关论文
共 4 条
  • [1] Automatic builder of class diagram (ABCD): an application of UML generation from functional requirements[J] . Wahiba Ben Abdessalem Karaa,Zeineb Ben Azzouz,Aarti Singh,Nilanjan Dey,Amira S. Ashour,Henda Ben Ghazala. Software: Practice and Experience . 2016 (11)
  • [2] Textual Requirement Analysis for UML Diagram Extraction by using NLP[J] . D.Joshi S.,Deshpande Dhanraj. International Journal of Computer Applications . 2012 (8)
  • [3] Generating UML Diagrams from Natural Language Specifications[J] . More Priyanka,Phalnikar Rashmi. International Journal of Applied Information Systems . 2012 (8)
  • [4] An efficient automated design to generate UML diagram from Natural Language Specifications .2 Gulia S,Choudhury T. Cloud System and Big Data Engineering (Confluence) . 2016