Datasets › UML Classes With Specs
UML Classes With Specs (UML Class Diagrams Paired With Their English Specifications)
Repository for UML-English data
This repository contains the data used for "Extraction of UML Class Diagrams from Natural Language Specification" (Yang et al. 2022)
Getting the dataset
To get the entire dataset, you must download the release containing dataset.tar.gz.
Structure of the dataset
dataset.tar.gz: archive that contains all the filesfragments.csv: file that lists UML fragments and their characteristicslabels.csv: file that contains the labels received in the crowdsourcing effortmodels.csv: file that lists UML class diagrams and their characteristicszoo/: folder that contains all the UML data itself, such as pictures and UML encodings
Making use of the dataset
Unzip the tarball first.
Opening the image of a certain UML model
Open models.csv to read the list of available models. Copy its name and search in the zoo/ folder for .png files starting with that name. For example, the ACME model has an image in the zoo/ folder called ACME.png.
ls zoo/ACME.png
code zoo/ACME.png # any other image visualizer
Opening the image of a certain fragment
Fragment files are named in the following pattern.
Class fragments:
(ModelName)_(class)(number).png
Relationship fragments:
(ModelName)_(rel)(number).png
Similarly, you can visualize them.
code zoo/CFG_class0.png
Finding the image of a fragment starting from a label
- Browse through
labels.csvand find the line that has the label of interest. - Every label has a
fragment_id, which can be indexed infragments.csv. Find the ID for the label of interest. - Inside
fragments.csv, search for the line where the column value ofunique_idequalsfragment_idfrom Step 2. - Proceed like in the previous section
Benchmarks archive 2025-07-28
All 1 leaderboard whose dataset resolves to this page shown (sort by any header). "First row" is the archive's own first row at snapshot, in the archive's row order; nothing here re-ranks and metric direction is not asserted.
| First row (archive order) | Paper | Code | ||||
|---|---|---|---|---|---|---|
| Model extraction | UML Classes With Specs | three-step-original Exact Match 0.171 | Towards Automatically Extracting UML Class Diagrams from... | XsongyangX/uml-translation-3step | 1 | Compare |
Papers archive 2025-07-28
papers with a benchmark row: 1 · with a code link: 1 · where Syntology ran a sample: 0 (0 with a run with no instrument failure, 0 where every run was a failure of Syntology's instrument) Syntology
Show: all papers with a benchmark rowonly where code ran: none of the 1 papers with a benchmark row has a Syntology run on record
Page 1 of 1: paper 1 of 1 with a leaderboard row on this dataset's benchmarks, newest first by the archive's date (ties by slug; undated papers last).
The archive's own "papers using this dataset" list was never published, so this is the benchmark-backed subset, not that list; the archive's count for this dataset is 1. The Syntology column is from Syntology's graph, stated per sample; it is not part of any archive number. A line reads “N ran (of which C constructed an object rather than computing a result; K with no instrument failure: H honoured, V violated, P with no contract checked; I where Syntology's instrument failed) · U unverified” (C is a part of N, never taken away from it); the figure “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. “Ran” means the sample executed on a synthesized fixture, not that the paper's result was reproduced. When the archive marks a repository official for the paper, the cell starts with that repository's state (the archive's flag, not a verdict on who wrote the code; “community repositories only” when every sample that ran came from a community repository, “official: no sample here; runs from other or unrecorded repositories” when some came from a repository the paper names or has in its text, or from none recorded); hover it for the repositories the samples that ran came from. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record.
| Paper | Code | Results | Date | Samples run Syntology |
|---|---|---|---|---|
| Towards Automatically Extracting UML Class Diagrams from Natural Language Specifications | 1 | 1 | 26 Oct 2022 | not harvested |
Dataset loaders archive 2025-07-28
No loader listed in the archive.
Tasks archive 2025-07-28
License archive 2025-07-28
No licence recorded in the archive. Absence here is not a statement about the dataset's terms.
Modalities archive 2025-07-28
No modality tagged.
Languages archive 2025-07-28
Variants archive 2025-07-28
- UML Classes With Specs
1 variant name, as the archive lists them.
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections