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

来源 :计算机教育 | 被引量 : 0次 | 上传用户:l525721
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
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 object-oriented 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.
其他文献
Digital Logic is a fundamental course of majors in electronic information. The simulation experiment is an essential measure to help students understand the principles of digital logic. It can improve the efficiency of physical experiments and decrease in
In order to solve the problem of insufficient integration of school-enterprise supervisors in the current school-enterprise cooperation model, this article introduces the ideas and results of the construction of a team with double-qualified instructors ma
The slogan of “Combination of medicine and engineering” proposed in “Made in China 2025” has aroused great attention to higher engineering education. However, it is a difficult problem and challenge for schools and educators to effectively adapt to the ec
Combined with China\'s educational reality and the vigorous development of MOOC and SPOC, this paper discusses the connotation and mode of blended teaching based on “MOOC + SPOC + multimodal classroom”, and puts forward that blended teaching is the deep
To address the problems of insufficient number of personalized exercises and cases and teachers\' lack of grasp of students\' weak knowledge points in the current software testing online courses, we study the strategy of establishing and updating inte
In recent years, it is the general trend to adopt the standards of international engineering education certification to construct curriculum. “Software Process and Tools” is one of the core courses of Harbin Institute of Technology\'s software engineeri
It is important to transform knowledge-based learning to competency-based learning. This paper describes the exploration and practice of “programming and algorithm foundation” curriculum reform for competency-based learning. In order to cultivate students
Aiming at the characteristics of huge knowledge points, strong practicality and diversity of software security course, adhering to the “Π” scheme for emerging engineering education, based on Tencent classroom, Tencent conference and Lan ink cloud class, a
Data model is the core knowledge of database course. A deep understanding of data model is the key to mastering database design and application. The data models of NoSQL databases are categorized as key-value stores, column-oriented stores, document-orien
With the vigorous development of MOOC and SPOC, software engineering teachers are exploring how to use first-class online resources to reconstruct the software engineering teaching system. This study proposed a project-driven group discussion classroom te