Academy & Industry Research Collaboration Center (AIRCC)

Volume 13, Number 05, March 2023

An Natural Language Processed Web Application that Interpret and Convert English to Python Code


Sunny Zhao1, Ang Li2, 1USA, 2California State Polytechnic University, USA


As the exchange between natural language and program code gradually becomes the need of industry, more and more interpreters and translators are required. Such natural language interpreters and converters can benefit society in a variety of fields, such as service industry, communication industry, and engineering industry [6]. Concise and accurate language processors will greatly boost the productivity of bottom repetitive works, provide examples and inspirations for students and industry workers, and become the tendency of the future. This paper introduces an application using natural language processing and neural network to effectively interpret and translate English to Python code, and detailly present the structural flow of the application [7]. This paper will also introduce the structure of the neural network, its validity, and how the python torch was applied and integrated. Furthermore, it will demonstrate the application and limitation of this model as well as its future improvements. We applied our application to educational needs and conducted qualitative evaluation of the approach. The result shows a beneficial and potential effect that is applicable to a greater field.


Natural language Processing , English to Python , Web Application