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]  Petra Kaufmann,et al.  Position Paper: m2n - A Tool for Translating Models to Natural Language Descriptions , 2011, Electron. Commun. Eur. Assoc. Softw. Sci. Technol..

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[25]  A. Wolf,et al.  Foundations for the study of software architecture , 1992, SOEN.