Please use this identifier to cite or link to this item: http://repository.kln.ac.lk/handle/123456789/25395
Title: Designing of a Voice-Based Programming IDE for Source Code Generation: A Machine Learning Approach
Authors: Nizzad, A.R. M.
Thelijjagoda, Samantha
Keywords: deep learning, natural language processing, source code generation, voice to source code, voice-based IDE
Issue Date: 2022
Publisher: Department of Industrial Management, Faculty of Science, University of Kelaniya Sri Lanka
Citation: Nizzad A.R. M.; Thelijjagoda Samantha (2022), Designing of a Voice-Based Programming IDE for Source Code Generation: A Machine Learning Approach, International Research Conference on Smart Computing and Systems Engineering (SCSE 2022), Department of Industrial Management, Faculty of Science, University of Kelaniya Sri Lanka. 14-21.
Abstract: Humans are precise in recognizing natural languages and responding contextually unlike machines. However, speech recognition or Automatic speech recognition often refers to converting human speech or voice to textual information with the help of artificial intelligence algorithms. With the advancement of Artificial Intelligence technologies and extensive research being conducted in AI, speech recognition has received much attention and has emerged as a subset of Natural Language Processing where the advancement and accuracy in speech recognition will open many ways to provide a high standard of human-computer interaction. In this study, using the pre-trained transformer model with a transfer learning approach, the English to Python dataset was used to train the transformer model to produce syntactically correct source code in python. Additionally, the Word2Vec model was used to generate voice-to-text as input for the model. For the purpose of demonstration, a custom Python IDE is developed to generate source code from voice input. The results and findings suggest that in the transformer model, with the use of transfer learning, any dataset can be trained to produce syntactically correct source code. The model’s training loss and validation loss were below 5 and 2.1, respectively. Future research can focus on generating valid source code from any human spoken language without restricting it to English only.
URI: http://repository.kln.ac.lk/handle/123456789/25395
Appears in Collections:Smart Computing and Systems Engineering - 2022 (SCSE 2022)

Files in This Item:
File Description SizeFormat 
SCSE 2022 03.pdf116.87 kBAdobe PDFView/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.