NL2 Alloy: A tool to generate alloy from NL constraints

TitleNL2 Alloy: A tool to generate alloy from NL constraints
Publication TypeJournal Article
Year of Publication2012
AuthorsBajwa, IS, Bordbar, B, Lee, M, Anastasakis, K
JournalJournal of Digital Information Management
Volume10
Issue6
Pagination365 - 372
Date Published2012
KeywordsAlloy, Natural language, NL2OCL, SBVR, UML
Abstract

In this paper, we present a novel approach to generate Alloy code from Natural Language (NL) constraints. The proposed research is basically an extension of two projects, NL2OCL and UML2Alloy.Our method uses Natural Language Processing (NLP) and Model Transformation (MT) to transform constraints expressed in NL to Alloy. We do not directly transform NL to Alloy, instead we use multiple intermediate translations such as NL2SBVR and SBVR2OCL and finally OCL2Alloy. Such intermediate translations help us to monitor the whole process of translation and produce intermediate artifacts such as OCL constraints, which can be used for documentation purposes. and ensure that actual semantics of NL have been transformed to Alloy. The generated Alloy code can then be used to check if the original NL constraints are consistent. We also introduce the use of OMG's standard SBVR in translation of NL to formal languages. The NL2Alloy approach is also implemented as an Eclipse plugin.

URLhttp://www.scopus.com/inward/record.url?eid=2-s2.0-84874825931&partnerID=40&md5=a6062c119677b77912bbf70d219d1132

Collaborative Partner

Institute of Electronic and Information Technology (IEIT)

Collaborative Partner

Collaborative Partner