This repository contains code and corpus for the CAAI Transactions on Intelligence Technology 2023 paper DeepOCL: A deep natural network for Object Constraint Language generation from unrestricted nature language.
Currently OCLPairs is available, the setence-level aligned corpus for NL-OCL.
If you use DeepOCL in your work, please cite it as follows:
@article{DeepOCL,
author = {Yang, Yilong and Liu, Yibo and Bao, Tianshu and Wang, Weiru and Niu, Nan and Yin, Yongfeng},
title = {DeepOCL: A deep neural network for Object Constraint Language generation from unrestricted nature language},
journal = {CAAI Transactions on Intelligence Technology},
keywords = {deep learning, OCL, software engineering},
doi = {https://doi.org/10.1049/cit2.12207},
The src column indicates the source of the sample.
The sentences with 1.* were collected from the OMG documents online.
The sentences with 2.* were collected from the thesis and public websites.
The sentences with 3 were collected from the case study of the RM2PT project.
The details are as follows:
1.1 UML
1.2 SYSML https://www.omg.org/spec/SysML/1.6/PDF
1.3 PSSM
1.4 AML https://www.omg.org/spec/AML/1.0/PDF
1.5 CCM https://www.omg.org/spec/CCM/4.0/PDF
1.6 CCMP https://www.omg.org/spec/CCMP/1.0/PDF
1.7 CORP https://www.omg.org/spec/CORP/1.0/PDF
1.8 FUML https://www.omg.org/spec/FUML/1.5/PDF
1.9 MARTE https://www.omg.org/spec/MARTE/1.2/PDF
1.11 QVT https://www.omg.org/spec/QVT/1.3/PDF
1.12 SCAM https://www.omg.org/spec/SACM/2.1/PDF
1.13 SMOF https://www.omg.org/spec/SMOF/1.0/PDF
1.14 UML_Infrastructure https://www.omg.org/spec/UML/2.4.1/Superstructure/PDF
1.15 UPR https://www.omg.org/spec/UPR/1.0/PDF
2.1 Using patterns to develop consistent design constraints, Wahler, Michael S 2.2 https://wiki.xmldation.com/User_Guides/Studio/5%3A_OCL_Rules
3 RM2PT case studys https://rm2pt.com/casestudy