We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Artificial Intelligence & Machine Learning/Source Code Generation-based on NLP and Ontology

Checking your access to this record.

Abstract & Overview

Generating source code is necessary especially as software evolves in complexity and demand. Finding a mechanism to generate the source code according to the requirements will save time for developers at the stage of development of the software. In this paper, a mechanism is proposed to generate the source code based on the database schema and user requirements (user story). This model contains three layers: The first layer is to analyze each of the database schema, extract the relationships between the tables, determine the meanings of the fields and analyze the user’s story to find the functions performed by each role of the software users. The second layer is deducing new functions based on what was mentioned in the first layer and extracting the knowledge that contains the solutions to the problems that are inferred. The knowledge bases used are WordNet and Backend Ontology built from scratch. In the third Layer, the solutions are converted to source code based on templates extracted from the knowledge and configured, that is applied to the templates. The model showed success in generating the source code, generating PHP source code for a site that is tested and generated seventy percent of what was required to be written by programmers.

Cite this record

Anas Alokla, Walaa Khaled Gad, Mostafa Mahmoud Aref, Abdel-Badeeh Mohamed Salem (2022). Source Code Generation-based on NLP and Ontology. International journal of intelligent computing and information sciences/International Journal of Intelligent Computing and Information Sciences, 0(0), 1–12. https://doi.org/10.21608/ijicis.2022.117905.1160

Copy in another style

Alokla, A., Gad, W. K., Aref, M. M., & Salem, A. M. (2022). Source Code Generation-based on NLP and Ontology. International journal of intelligent computing and information sciences/International Journal of Intelligent Computing and Information Sciences, 0(0), 1–12. https://doi.org/10.21608/ijicis.2022.117905.1160
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.