NUST Institutional Repository

From Natural Language to Domain-Specific Languages – A Use Case of Xtext Platform

Show simple item record

dc.contributor.author Zafar, Amina
dc.date.accessioned 2023-12-21T09:06:16Z
dc.date.available 2023-12-21T09:06:16Z
dc.date.issued 2023-12
dc.identifier.other 361404
dc.identifier.uri http://10.250.8.41:8080/xmlui/handle/123456789/41321
dc.description Supervisor: Dr. Farooque Azam en_US
dc.description.abstract Development of the domain-specific language (DSL), i.e., the Xtext framework, supports the development of consistent requirements of software systems, but their development complexities are crucial in MDE. At the core of the Xtext framework, we find its grammar, which requires propitious knowledge regarding its technical concepts. The software development life cycle (SDLC) involves a complex requirement elicitation phase that entails collaboration among multiple stakeholders. The problem arises when nontechnical stakeholders encounter diverse challenges to grasp the development intricacies of the Xtext grammar. Hence, they cannot communicate their requirements to technical stakeholders. Consequently, there is a need for such a framework that can simplify the DSL development of the Xtext to facilitate collaboration among multiple stakeholders. An extensive analysis of 44 prior studies is conducted related to both NLP techniques and MDE approaches. It is analyzed that a few of the existing studies have focused on modeling with NLP techniques and the Xtext framework to support the generation of consistent requirements. However, it is important to mention that a prominent research gap still exists, as a framework for auto-generated Xtext grammar is not proposed. Therefore, this thesis presents a research work where a framework is developed to automatically generate the Xtext grammar from the natural language requirements using natural language processing (NLP) techniques. Particularly, a rule-based approach is incorporated to extract the primary DSL elements comprising the Xtext, such as the root element, relationship element, and attributes from the textual requirements. Furthermore, a comprehensive algorithm is devised to systematically apply the NLP rules, facilitating the generation of desired Xtext grammar. Based on this approach, the tool Natural-Language To Domain-Specific Language (NL2DSL) is developed. The proposed approach is validated through two case studies, i.e., the timing model and the diabetic manager. Our generated results prove that the proposed framework generates the Xtext grammar from the textual requirements with a satisfactory degree of accuracy. en_US
dc.language.iso en en_US
dc.publisher College of Electrical & Mechanical Engineering (CEME), NUST en_US
dc.subject Domain-Specific Languages, DSLs, Xtext, East-ADL, model-driven engineering, Natural Language Processing. en_US
dc.title From Natural Language to Domain-Specific Languages – A Use Case of Xtext Platform en_US
dc.type Thesis en_US


Files in this item

This item appears in the following Collection(s)

  • MS [441]

Show simple item record

Search DSpace


Advanced Search

Browse

My Account