Generating natural language specifications from UML class diagrams

被引:3
|
作者
Meziane, Farid [1 ]
Athanasakis, Nikos [1 ]
Ananiadou, Sophia [2 ]
机构
[1] Univ Salford, Informat Res Inst, Salford M5 4WT, Lancs, England
[2] Univ Manchester, Natl Ctr Text Mining, Sch Comp Sci, Manchester MI 7DN, Lancs, England
关键词
Unify Modelling Language; Noun Phrase; Class Diagram; Object Constraint Language; Ambiguous Word;
D O I
10.1007/s00766-007-0054-0
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Early phases of software development are known to be problematic, difficult to manage and errors occurring during these phases are expensive to correct. Many systems have been developed to aid the transition from informal Natural Language requirements to semistructured or formal specifications. Furthermore, consistency checking is seen by many software engineers as the solution to reduce the number of errors occurring during the software development life cycle and allow early verification and validation of software systems. However, this is confined to the models developed during analysis and design and fails to include the early Natural Language requirements. This excludes proper user involvement and creates a gap between the original requirements and the updated and modified models and implementations of the system. To improve this process, we propose a system that generates Natural Language specifications from UML class diagrams. We first investigate the variation of the input language used in naming the components of a class diagram based on the study of a large number of examples from the literature and then develop rules for removing ambiguities in the subset of Natural Language used within UML. We use WordNet, a linguistic ontology, to disambiguate the lexical structures of the UML string names and generate semantically sound sentences. Our system is developed in Java and is tested on an independent though academic case study.
引用
收藏
页码:1 / 18
页数:18
相关论文
共 50 条
  • [21] Generating Automatic Unit Tests of JavaScript Code from UML Class and Activity Diagrams
    Malanowska, Agnieszka
    Malkiewicz-Blotniak, Adrianna
    International Conference on Evaluation of Novel Approaches to Software Engineering, ENASE - Proceedings, 2021, 2021-April : 189 - 196
  • [22] An Automated Tool for Generating UML Models from Natural Language Requirements
    Deeptimahanti, Deva Kumar
    Babar, Muhammad Ali
    2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 680 - 682
  • [23] Automatically Generating Precise Oracles from Structured Natural Language Specifications
    Motwani, Manish
    Brun, Yuriy
    2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2019), 2019, : 188 - 199
  • [24] Controlled Natural Language Framework for Generating Assertions from Hardware Specifications
    Krishnamurthy, Rahul
    Hsiao, Michael S.
    2019 13TH IEEE INTERNATIONAL CONFERENCE ON SEMANTIC COMPUTING (ICSC), 2019, : 367 - 370
  • [25] AUTOMATIC GENERATION OF UML DIAGRAMS FROM PRODUCT REQUIREMENTS DESCRIBED BY NATURAL LANGUAGE
    Chen, Lei
    Zeng, Yong
    ASME INTERNATIONAL DESIGN ENGINEERING TECHNICAL CONFERENCES AND COMPUTERS AND INFORMATION IN ENGINEERING CONFERENCE, PROCEEDINGS, VOL 2, PTS A AND B, 2010, : 779 - 786
  • [26] Generating Automatic Unit Tests of Java']JavaScript Code from UML Class and Activity Diagrams
    Malanowska, Agnieszka
    Malkiewicz-Blotniak, Adrianna
    ENASE: PROCEEDINGS OF THE 16TH INTERNATIONAL CONFERENCE ON EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, 2021, : 189 - 196
  • [27] Generating Maude formal specifications from AUML diagrams
    Mokhati, Farid
    Boudiaf, Noura
    Badri, Linda
    Badri, Mourad
    JOURNAL OF COMPUTATIONAL METHODS IN SCIENCES AND ENGINEERING, 2006, 6 (5-6) : S73 - S89
  • [28] An Innovative Approach for Generating Static UML Models from Natural Language Requirements
    Deeptimahanti, Deva Kumar
    Sanyal, Ratna
    ADVANCES IN SOFTWARE ENGINEERING, 2009, 30 : 147 - 163
  • [29] Generating Test Cases for Timed Systems from Controlled Natural Language Specifications
    Schnelte, Matthias
    2009 THIRD IEEE INTERNATIONAL CONFERENCE ON SECURE SOFTWARE INTEGRATION AND RELIABILITY IMPROVEMENT, PROCEEDINGS, 2009, : 348 - 353
  • [30] Generating structured implementation schemes from UML sequence diagrams
    Selonen, P
    Systä, T
    Koskimies, K
    TOOLS 39: TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES AND SYSTEMS, PROCEEDINGS: SOFTWARE TECHNOLOGY FOR THE AGE OF THE INTERNET, 2001, 39 : 317 - 328