Natural language generation from class diagrams

A Platform-Independent Model (PIM) is supposed to capture the requirements specified in the Computational Independent Model (CIM). It can be hard to validate that this is the case since the stakeholders might lack the necessary training to access the information of the software models in the PIM. In contrast, a description of the PIM in natural language will enable all stakeholders to be included in the validation. We have conducted a case study to investigate the possibilities to generate natural language text from Executable and Translatable UML. In our case study we have considered a static part of the PIM; the structure of the class diagram. The transformation was done in two steps. In the first step, the class diagram was transformed into an intermediate linguistic model using Grammatical Framework. In the second step, the linguistic model is transformed into natural language text. The PIM was enhanced in such a way that the generated texts can both paraphrase the original software models as well as include the underlying motivations behind the design decisions.

[1]  Aarne Ranta,et al.  An Authoring Tool for Informal and Formal Requirements Specifications , 2002, FASE.

[2]  Joaquin Miller,et al.  MDA Guide Version 1.0.1 , 2003 .

[3]  Christiane Fellbaum,et al.  Book Reviews: WordNet: An Electronic Lexical Database , 1999, CL.

[4]  Serge Demeyer,et al.  An experimental investigation of UML modeling conventions , 2006, MoDELS'06.

[5]  Robert Dale,et al.  Building applied natural language generation systems , 1997, Natural Language Engineering.

[6]  Stephen J. Mellor,et al.  Object lifecycles: modeling the world in states , 1992 .

[7]  Paul Francis,et al.  Model Driven Architecture with Executable UML , 2004 .

[8]  Stephen J. Mellor,et al.  Executable UML How to Build Class Models , 2001 .

[9]  Donald Firesmith,et al.  Modern Requirements Specification , 2003, J. Object Technol..

[10]  Sophia Ananiadou,et al.  Generating Natural Language specifications from UML class diagrams , 2008, Requirements Engineering.

[11]  David A. Burke,et al.  Translating Formal Software Specifications to Natural Language , 2005, LACL.

[12]  Peter Naur,et al.  Programming as theory building , 1985 .

[13]  Peter Ljunglöf,et al.  Editing Syntax Trees on the Surface , 2011, NODALIDA.

[14]  Alexander L. Wolf,et al.  Acm Sigsoft Software Engineering Notes Vol 17 No 4 Foundations for the Study of Software Architecture , 2022 .

[15]  Axel Uhl,et al.  MDA Distilled , 2004 .

[16]  Wolfgang Emmerich,et al.  Literate Modelling - Capturing Business Knowledge with the UML , 1998, UML.

[17]  Stephen J. Mellor,et al.  Executable UML - A Foundation for Model-Driven Architecture , 2002, Addison Wesley object technology series.

[18]  Qing Li,et al.  Unified Modeling Language , 2009 .

[19]  Jordi Cabot,et al.  From UML/OCL to SBVR specifications: A challenging transformation , 2010, Inf. Syst..

[20]  Anneke Kleppe,et al.  The Object Constraint Language: Getting Your Models Ready for MDA , 2003 .

[21]  Emily Hill,et al.  Towards automatically generating summary comments for Java methods , 2010, ASE.

[22]  Parastoo Mohagheghi,et al.  Evaluating Quality in Model-Driven Engineering , 2007, International Workshop on Modeling in Software Engineering (MISE'07: ICSE Workshop 2007).

[23]  Petra Kaufmann,et al.  Position Paper: m2n - A Tool for Translating Models to Natural Language Descriptions , 2011, Electron. Commun. Eur. Assoc. Softw. Sci. Technol..

[24]  Joaquín Nicolás,et al.  On the generation of requirements specifications from software engineering models: A systematic literature review , 2009, Inf. Softw. Technol..

[25]  Aarne Ranta,et al.  Multimodal Dialogue System Grammars , 2005 .