Machine Translation from Natural Language to Code using Long-Short Term Memory
Rahit, K. M. Tahsin Hassan, Nabil, Rashidul Hasan, Huq, Md Hasibul
–arXiv.org Artificial Intelligence
Making computer programming language more understandable and easy for the human is a longstanding problem. From assembly language to present day's object-oriented programming, concepts came to make programming easier so that a programmer can focus on the logic and the architecture rather than the code and language itself. To go a step further in this journey of removing human-computer language barrier, this paper proposes machine learning approach using Recurrent Neural Network(RNN) and Long-Short Term Memory(LSTM) to convert human language into programming language code. The programmer will write expressions for codes in layman's language, and the machine learning model will translate it to the targeted programming language. The proposed approach yields result with 74.40% accuracy. This can be further improved by incorporating additional techniques, which are also discussed in this paper. Keywords: Text to code, machine learning, machine translation, NLP, RNN, LSTM 1 Introduction Removing computer-human language barrier is an inevitable advancement researchers are thriving to achieve for decades. One of the stages of this advancement will be coding through natural human language instead of traditional programming language. On naturalness of computer programming D. Knuth said, arXiv:1910.11471v1
arXiv.org Artificial Intelligence
Oct-24-2019
- Country:
- North America
- United States > New York
- New York County > New York City (0.05)
- Canada
- Quebec > Montreal (0.04)
- Alberta > Census Division No. 6
- Calgary Metropolitan Region > Calgary (0.15)
- United States > New York
- Asia
- India > Maharashtra
- Mumbai (0.06)
- Bangladesh > Dhaka Division
- Dhaka District > Dhaka (0.05)
- India > Maharashtra
- North America
- Genre:
- Research Report (0.51)
- Technology: