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 条
  • [1] Generating Natural Language specifications from UML class diagrams
    Farid Meziane
    Nikos Athanasakis
    Sophia Ananiadou
    [J]. Requirements Engineering, 2008, 13 : 1 - 18
  • [2] Towards Automatically Extracting UML Class Diagrams from Natural Language Specifications
    Yang, Song
    Sahraoui, Houari
    [J]. ACM/IEEE 25TH INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, MODELS 2022 COMPANION, 2022, : 396 - 403
  • [3] From Natural Language Requirements to UML Class Diagrams
    Sharma, Richa
    Srivastava, Pratyoush K.
    Biswas, Kanad K.
    [J]. SECOND INTERNATIONAL WORKSHOP ON ARTIFICIAL INTELLIGENCE FOR REQUIREMENTS ENGINEERING (AIRE 2015), 2015, : 25 - 32
  • [4] Generating operation specifications from UML class diagrams: A model transformation approach
    Albert, Manoli
    Cabot, Jordi
    Gomez, Cristina
    Pelechano, Vicente
    [J]. DATA & KNOWLEDGE ENGINEERING, 2011, 70 (04) : 365 - 389
  • [5] From Natural Language Software Specifications to UML Class Models
    Bajwa, Imran Sarwar
    Choudhary, M. Abbas
    [J]. ENTERPRISE INFORMATION SYSTEMS, ICEIS 2011, 2012, 102 : 224 - 237
  • [6] Generating Maude Specifications From UML Use Case Diagrams
    Mokhati, Farid
    Badri, Mourad
    [J]. JOURNAL OF OBJECT TECHNOLOGY, 2009, 8 (02): : 119 - 136
  • [7] Generating Maude Specifications from M-UML Statechart Diagrams
    Kezai, Mourad
    Khababa, Abdallah
    [J]. JOURNAL OF ADVANCED COMPUTATIONAL INTELLIGENCE AND INTELLIGENT INFORMATICS, 2022, 26 (01) : 8 - 16
  • [8] Automatic Conversion from Specifications in Japanese into Class Diagrams in UML
    Saita, Ryuichi
    Kubomura, Chiaki
    Kameda, Hiroyuki
    [J]. KNOWLEDGE-BASED SOFTWARE ENGINEERING, 2008, 180 : 155 - +
  • [9] Generating tests from UML specifications
    Offutt, J
    Abdurazik, A
    [J]. UML'99 - THE UNIFIED MODELING LANGUAGE: BEYOND THE STANDARD, 1999, 1723 : 416 - 429
  • [10] Generating simulation models from natural language specifications
    Cyre, WR
    Armstrong, JR
    Honcharik, AJ
    [J]. SIMULATION, 1995, 65 (04) : 239 - 251