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 article analyzes creation methods of automated design system, presents design system of a house foundation from blocks. The creation methods of automated design system of a house foundation from blocks are discov...This article analyzes creation methods of automated design system, presents design system of a house foundation from blocks. The creation methods of automated design system of a house foundation from blocks are discovered with Unified Modeling Language. Analyzed objects-classes: block, specification, model. Graphical system can design foundation, form specification of objects and create 3D model of house foundation. There are several types and different dimensions of concrete blocks. The program optimally arranges selected blocks so that monolithic parts will be minimal volume. Program selects a house foundation blocks from database by using ActiveX Data Objects technology, which by programming method connects drawing and database. Drawing's graphical objects have additional data from which exchange of data between graphical system and database is executed. Visualization system and example of house foundation from blocks project with specifications is presented. Creation problems of automated design system are discussed and conclusions are made.展开更多
基金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.
文摘This article analyzes creation methods of automated design system, presents design system of a house foundation from blocks. The creation methods of automated design system of a house foundation from blocks are discovered with Unified Modeling Language. Analyzed objects-classes: block, specification, model. Graphical system can design foundation, form specification of objects and create 3D model of house foundation. There are several types and different dimensions of concrete blocks. The program optimally arranges selected blocks so that monolithic parts will be minimal volume. Program selects a house foundation blocks from database by using ActiveX Data Objects technology, which by programming method connects drawing and database. Drawing's graphical objects have additional data from which exchange of data between graphical system and database is executed. Visualization system and example of house foundation from blocks project with specifications is presented. Creation problems of automated design system are discussed and conclusions are made.