The Use of Natural Language Processing Approach for Converting Pseudo Code to C# Code

Although current computer-aided software engineering tools support developers in composing a program, there is no doubt that more flexible supportive tools are needed to address the increases in the complexity of programs. This need can be met by automating the intellectual activities that are carri...

Full description

Bibliographic Details
Main Authors: Imam Ayad Tareq, Alnsour Ayman Jameel
Format: Article
Language:English
Published: De Gruyter 2019-04-01
Series:Journal of Intelligent Systems
Subjects:
acg
nlp
srl
Online Access:https://doi.org/10.1515/jisys-2018-0291
id doaj-35cbd78415354e4b8ba71a35fff20a93
record_format Article
spelling doaj-35cbd78415354e4b8ba71a35fff20a932021-09-06T19:40:39ZengDe GruyterJournal of Intelligent Systems0334-18602191-026X2019-04-012911388140710.1515/jisys-2018-0291The Use of Natural Language Processing Approach for Converting Pseudo Code to C# CodeImam Ayad Tareq0Alnsour Ayman Jameel1Department of Computer Science, Faculty of Information Technology, Isra University, Amman 11622, JordanDepartment of Computer Engineering, College of Computer Engineering and Sciences, Prince Sattam Bin Abdulaziz University, Alkharj, Kingdom of Saudi ArabiaAlthough current computer-aided software engineering tools support developers in composing a program, there is no doubt that more flexible supportive tools are needed to address the increases in the complexity of programs. This need can be met by automating the intellectual activities that are carried out by humans when composing a program. This paper aims to automate the composition of a programming language code from pseudocode, which is viewed here as a translation process for a natural language text, as pseudocode is a formatted text in natural English language. Based on this view, a new automatic code generator is developed that can convert pseudocode to C# programming language code. This new automatic code generator (ACG), which is called CodeComposer, uses natural language processing (NLP) techniques such as verb classification, thematic roles, and semantic role labeling (SRL) to analyze the pseudocode. The resulting analysis of linguistic information from these techniques is used by a semantic rule-based mapping machine to perform the composition process. CodeComposer can be viewed as an intelligent computer-aided software engineering (I_CASE) tool. An evaluation of the accuracy of CodeComposer using a binomial technique shows that it has a precision of 88%, a recall of 91%, and an F-measure of 89%.https://doi.org/10.1515/jisys-2018-0291acgi-casenlpsrlthematic roleverb classification
collection DOAJ
language English
format Article
sources DOAJ
author Imam Ayad Tareq
Alnsour Ayman Jameel
spellingShingle Imam Ayad Tareq
Alnsour Ayman Jameel
The Use of Natural Language Processing Approach for Converting Pseudo Code to C# Code
Journal of Intelligent Systems
acg
i-case
nlp
srl
thematic role
verb classification
author_facet Imam Ayad Tareq
Alnsour Ayman Jameel
author_sort Imam Ayad Tareq
title The Use of Natural Language Processing Approach for Converting Pseudo Code to C# Code
title_short The Use of Natural Language Processing Approach for Converting Pseudo Code to C# Code
title_full The Use of Natural Language Processing Approach for Converting Pseudo Code to C# Code
title_fullStr The Use of Natural Language Processing Approach for Converting Pseudo Code to C# Code
title_full_unstemmed The Use of Natural Language Processing Approach for Converting Pseudo Code to C# Code
title_sort use of natural language processing approach for converting pseudo code to c# code
publisher De Gruyter
series Journal of Intelligent Systems
issn 0334-1860
2191-026X
publishDate 2019-04-01
description Although current computer-aided software engineering tools support developers in composing a program, there is no doubt that more flexible supportive tools are needed to address the increases in the complexity of programs. This need can be met by automating the intellectual activities that are carried out by humans when composing a program. This paper aims to automate the composition of a programming language code from pseudocode, which is viewed here as a translation process for a natural language text, as pseudocode is a formatted text in natural English language. Based on this view, a new automatic code generator is developed that can convert pseudocode to C# programming language code. This new automatic code generator (ACG), which is called CodeComposer, uses natural language processing (NLP) techniques such as verb classification, thematic roles, and semantic role labeling (SRL) to analyze the pseudocode. The resulting analysis of linguistic information from these techniques is used by a semantic rule-based mapping machine to perform the composition process. CodeComposer can be viewed as an intelligent computer-aided software engineering (I_CASE) tool. An evaluation of the accuracy of CodeComposer using a binomial technique shows that it has a precision of 88%, a recall of 91%, and an F-measure of 89%.
topic acg
i-case
nlp
srl
thematic role
verb classification
url https://doi.org/10.1515/jisys-2018-0291
work_keys_str_mv AT imamayadtareq theuseofnaturallanguageprocessingapproachforconvertingpseudocodetoccode
AT alnsouraymanjameel theuseofnaturallanguageprocessingapproachforconvertingpseudocodetoccode
AT imamayadtareq useofnaturallanguageprocessingapproachforconvertingpseudocodetoccode
AT alnsouraymanjameel useofnaturallanguageprocessingapproachforconvertingpseudocodetoccode
_version_ 1717767992238931968