{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/towards-automatically-extracting-uml-class","title":"Towards Automatically Extracting UML Class Diagrams from Natural Language Specifications","arxiv_id":"2210.14441","date":"2022-10-26","proceeding":null,"authors":["Song Yang","Houari Sahraoui"],"abstract":"In 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 language software specifications. To develop our approach, we create a dataset of UML class diagrams and their English specifications with the help of volunteers. Our approach is a pipeline of steps consisting of the segmentation of the input into sentences, the classification of the sentences, the generation of UML class diagram fragments from sentences, and the composition of these fragments into one UML class diagram. We develop a quantitative testing framework specific to UML class diagram extraction. Our approach yields low precision and recall but serves as a benchmark for future research.","url_abs":"https://arxiv.org/abs/2210.14441v2","url_pdf":"https://arxiv.org/pdf/2210.14441v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"towards-automatically-extracting-uml-class","repo_url":"https://github.com/XsongyangX/uml-translation-3step","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null}],"tasks":[{"task_slug":"model-extraction","task_name":"Model extraction"}],"methods":[],"datasets_introduced":[{"slug":"uml-classes-with-specs","name":"UML Classes With Specs","full_name":"UML Class Diagrams Paired With Their English Specifications"}],"methods_introduced":[],"results":[{"leaderboard":"/sota/model-extraction-on-uml-classes-with-specs","task":"Model extraction","dataset":"UML Classes With Specs","model":"three-step-original","rank_in_archive_order":1,"of":1,"metrics":{"Exact Match":"0.171"},"uses_additional_data":false}],"syntology":{"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}