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...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.展开更多
This research aims to construct a case resource library for programming course,which can be used for either teachers’teaching or students’learning.The cases cannot be simply piled up but rather require a systematic ...This research aims to construct a case resource library for programming course,which can be used for either teachers’teaching or students’learning.The cases cannot be simply piled up but rather require a systematic planning.The solution to this is to design a case system model.The outcome-based education(OBE)concept is adopted to guide the research,and a three-dimensional case system model matching the course objectives is designed.Under the guidance of the model,the case resource library construction is more planned.Cases based on the model can provide all-round support for the cultivation of students’ability by gradually promoting knowledge and technology,frequently exercising one’s abilities,as well as expanding diverse and innovative problems.展开更多
基金This work is supported by the Collaborative education project of QST Innovation Technology Group Co.,Ltd and the Ministry of Education of PRC(NO.201801243022).
文摘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.
基金The“OBE-Oriented Programming Course Practice Teaching Research and Resource Construction”Project supported by the Association of Fundamental Computing Education in Chinese Universities in 2021.(Project Number:2021-AFCEC-246)。
文摘This research aims to construct a case resource library for programming course,which can be used for either teachers’teaching or students’learning.The cases cannot be simply piled up but rather require a systematic planning.The solution to this is to design a case system model.The outcome-based education(OBE)concept is adopted to guide the research,and a three-dimensional case system model matching the course objectives is designed.Under the guidance of the model,the case resource library construction is more planned.Cases based on the model can provide all-round support for the cultivation of students’ability by gradually promoting knowledge and technology,frequently exercising one’s abilities,as well as expanding diverse and innovative problems.