ABSTRACT
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.
- S. Andersson and T. Siljamäki. Proof of concept - reuse of PIM, experience report. In SPLST'09 & NW-MODE'09: Proceedings of 11th Symposium on Programming Languages and Software Tools and 7th Nordic Workshop on Model Driven Software Engineering, Tampere, Finland, August 2009.Google Scholar
- J. Arlow, W. Emmerich, and J. Quinn. Literate Modelling - Capturing Business Knowledge with the UML. In Selected papers from the First International Workshop on The Unified Modeling Language UML'98: Beyond the Notation, pages 189--199, London, UK, 1999. Springer-Verlag. Google ScholarDigital Library
- BridgePoint. http://www.mentor.com/. Accessed 8th March 2011.Google Scholar
- B. Bringert, R. Cooper, P. Ljunglöf, and A. Ranta. Multimodal dialogue system grammars. In Proceedings of DIALOR'05, Ninth Workshop on the Semantics and Pragmatics of Dialogue, pages 53--60, June 2005.Google Scholar
- P. Brosch and A. Randak. Position paper: m2n-a tool for translating models to natural language descriptions. Electronic Communications of the EASST, Software Modeling in Education at MODELS 2010(34), 2010.Google Scholar
- D. A. Burke and K. Johannisson. Translating formal software specifications to natural language. In P. Blache, E. P. Stabler, J. Busquets, and R. Moot, editors, LACL, volume 3492 of Lecture Notes in Computer Science, pages 51--66. Springer, 2005. Google ScholarDigital Library
- J. Cabot, R. Pau, and R. Raventós. From uml/ocl to sbvr specifications: A challenging transformation. Inf. Syst., 35(4):417--440, 2010. Google ScholarDigital Library
- C. Fellbaum and G. A. Miller. WordNet: An electronic lexical database. MIT Press, Cambridge, MA, 1998.Google ScholarCross Ref
- D. Firesmith. Modern requirements specification. Journal of Object Technology, 2(2):53--64, 2003.Google ScholarCross Ref
- R. Hähnle, K. Johannisson, and A. Ranta. An authoring tool for informal and formal requirements specifications. In R.-D. Kutsche and H. Weber, editors, FASE, volume 2306 of Lecture Notes in Computer Science, pages 233--248. Springer, 2002. Google ScholarDigital Library
- C. F. J. Lange, B. D. Bois, M. R. V. Chaudron, and S. Demeyer. An experimental investigation of UML modeling conventions. In O. Nierstrasz, J. Whittle, D. Harel, and G. Reggio, editors, MoDELS, volume 4199 of Lecture Notes in Computer Science, pages 27--41. Springer, 2006. Google ScholarDigital Library
- S. Larsson and J. Villing. The dico project: A multimodal menu-based in-vehicle dialogue system. In Proceedings of the 7th International Workshop on Computational Semantics (IWCS-7), Tilburg, The Netherlands. IWCS, 2007.Google Scholar
- P. Ljungläf. Editing syntax trees on the surface. In Nodalida'11: 18th Nordic Conference of Computational Linguistics, volume 11, Riga, Latvia, 2011. NEALT Proceedings Series.Google Scholar
- S. J. Mellor and M. Balcer. Executable UML: A Foundation for Model-Driven Architectures. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA, 2002. Google ScholarDigital Library
- S. J. Mellor, S. Kendall, A. Uhl, and D. Weise. MDA Distilled. Addison Wesley Longman Publishing Co., Inc., Redwood City, CA, USA, 2004. Google ScholarDigital Library
- F. Meziane, N. Athanasakis, and S. Ananiadou. Generating Natural Language Specifications from UML Class Diagrams. Requir. Eng., 13(1):1--18, 2008. Google ScholarDigital Library
- J. Miller and J. Mukerji. MDA Guide Version 1.0.1. Technical report, Object Management Group (OMG), 2003.Google Scholar
- P. Mohagheghi and J. Aagedal. Evaluating quality in model-driven engineering. In MISE '07: Proceedings of the International Workshop on Modeling in Software Engineering, page 6, Washington, DC, USA, 2007. IEEE Computer Society. Google ScholarDigital Library
- Molto - Multilingual On-line Translation. http://www.molto-project.eu/. Accessed 1st July 2011.Google Scholar
- P. Naur. Programming as theory building. Microprocessing and Microprogramming, 15(5):253--261, 1985.Google ScholarCross Ref
- J. Nicolás and J. A. T. Álvarez. On the generation of requirements specifications from software engineering models: A systematic literature review. Information & Software Technology, 51(9):1291--1307, 2009. Google ScholarDigital Library
- OMG. Object Constraint Language Version 2.2. http://www.omg.org/spec/OCL/2.2/. Accessed 13th September 2010.Google Scholar
- OMG. OMG Unified Modeling Language (OMG UML) Infrastructure Version 2.3. http://www.omg.org/spec/UML/2.3/. Accessed 11th September 2010.Google Scholar
- OMG. Semantics of Business Vocabulary and Rules (SBVR) Version 1.0, ormal/08-01-02 edition, January 2008.Google Scholar
- OMG. MDA. http://www.omg.org/mda/, Accessed January 2011.Google Scholar
- D. E. Perry and A. L. Wolf. Foundations for the study of software architecture. SIGSOFT Softw. Eng. Notes, 17:40--52, October 1992. Google ScholarDigital Library
- C. Raistrick, P. Francis, J. Wright, C. Carter, and I. Wilkie. Model Driven Architecture with Executable UML#8482;. Cambridge University Press, New York, NY, USA, 2004. Google ScholarDigital Library
- A. Ranta. Grammatical Framework: Programming with Multilingual Grammars. CSLI Publications, Stanford, 2011. Google ScholarDigital Library
- E. Reiter and R. Dale. Building applied natural language generation systems. Nat. Lang. Eng., 3:57--87, March 1997. Google ScholarDigital Library
- S. Shlaer and S. J. Mellor. Object lifecycles: modeling the world in states. Yourdon Press, Upper Saddle River, NJ, USA, 1992. Google ScholarDigital Library
- T. Siljamäki and S. Andersson. Performance benchmarking of real time critical function using BridgePoint xtUML. NW-MoDE'08: Nordic Workshop on Model Driven Engineering. Reykjavik, Iceland, August 2008.Google Scholar
- G. Sridhara, E. Hill, D. Muppaneni, L. Pollock, and K. Vijay-Shanker. Towards automatically generating summary comments for java methods. In Proceedings of the IEEE/ACM international conference on Automated software engineering, ASE '10, pages 43--52, New York, NY, USA, 2010. ACM. Google ScholarDigital Library
- L. Starr. How to build articulate UML class models. http://knol.google.com/k/leon-starr/how-to-build-articulate-uml-class-models/2hnjef6cmm971/4. Accessed 24th November 2009.Google Scholar
- L. Starr. Executable UML: How to Build Class Models. Prentice Hall PTR, Upper Saddle River, NJ, USA, 2001. Google ScholarDigital Library
- The TALK Project. http://www.talk-project.org/. Accessed 1st July 2011.Google Scholar
- J. Warmer and A. Kleppe. The Object Constraint Language: Getting Your Models Ready for MDA. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA, 2 edition, 2003. Google ScholarDigital Library
Index Terms
- Natural language generation from class diagrams
Recommendations
Relationships between UML Sequence Diagrams and the Topological Functioning Model for Backward Transformation
Abstract The software system needs to be analyzed and designed before the program code is written. A Computation Independent Model CIM and a Platform Independent Model/ Platform Specific Model PIM/PSM from Model-Driven Architecture MDA will be partially ...
Towards automatically extracting UML class diagrams from natural language specifications
MODELS '22: Proceedings of the 25th International Conference on Model Driven Engineering Languages and Systems: Companion ProceedingsIn model-driven engineering (MDE), UML class diagrams serve as a way to plan and communicate between developers. However, it is complex and resource-consuming. We propose an automated approach for the extraction of UML class diagrams from natural ...
Automatic code generation from unified modelling language sequence diagrams
Unified modelling language (UML) is a visual modelling language, which has gained popularity among software practitioners. In a model‐driven software development environment, the existing UML tools mainly support automatic generation of structural code ...
Comments