Skip navigation

DSpace JSPUI

DSpace preserves and enables easy and open access to all types of digital content including text, images, moving images, mpegs and data sets

Learn More
DSpace logo
English
中文
  • Browse
    • Communities
      & Collections
    • Publication Year
    • Author
    • Title
    • Subject
    • Advisor
  • Search TDR
  • Rights Q&A
    • My Page
    • Receive email
      updates
    • Edit Profile
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 資訊網路與多媒體研究所
Please use this identifier to cite or link to this item: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/88658
Title: 從需求建構類別圖:應用Transformer為基礎的機器學習方法
Constructing Class Diagram from Requirements with a Transformer-Based Machine Learning Approach
Authors: 張馨尹
Hsin-Yin Chang
Advisor: 李允中
Jonathan Lee
Keyword: 類別圖,機器學習,Transfomer模型,
Class Diagram,Machine Learning,Transformer Model,
Publication Year : 2022
Degree: 碩士
Abstract: 過往將軟體工程需求自動構建類別圖的方法,都是使用建立規則和自然語言處 理技術來抓取類別、類別的屬性和方法和類別之間的關係。然而,此類方法會因 為每個人書寫需求方式的不同,而遺漏屬性或是方法等等,並且也沒有辦法完整 的找到所有類別間的關係。 因此,本研究提出了一個自動化的流程,能夠從軟 體 需求完整地辨別出類別、類別的屬性和方法和類別之間的關係,其包含以下四 個 步驟:將自然語言書寫的軟體需求改寫為EARS(Easy Approach to Requirements Syntax)格式;利用Transformer-based的模型以及自然語言處理技術分析需求; 生成 描述類別圖的UML文件;使用開源軟體工具PlantUML產出類別圖。
The previous methods of automatically converting software engineering require- ments into class diagrams involved using rule-based approaches and natural language processing techniques to extract the classes, attributes, methods, and relationships between classes. However, such methods may miss attributes or methods and cannot fully find all relationships between classes due to different writing styles of individ- uals. Therefore, in this research work, we propose an automated process that can identify classes, attributes, methods, and relationships between classes from soft- ware requirements comprehensively with the following four steps: 1. rewrite the software requirements written in natural language into EARS (Easy Approach to Requirements Syntax) format, 2. Use Transformer-based models and natural lan- guage processing techniques to analyze requirements, 3. Generate UML documents to describe class diagrams, 4. Use the open-source tool PlantUML to produce class diagrams.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/88658
DOI: 10.6342/NTU202303318
Fulltext Rights: 同意授權(全球公開)
Appears in Collections:資訊網路與多媒體研究所

Files in This Item:
File SizeFormat 
ntu-111-2.pdf6.68 MBAdobe PDFView/Open
Show full item record


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved