Abstract

The purpose of this paper is to establish the mechanism of mutual transformation between programming language and natural language through the cognitive features of programming language and natural language which enables computers to read natural language and furthermore, to think like a human brain to achieve the purpose of human-computer interaction. The method is: First, establish a data dictionary, a vocabulary table, a sentence table and a bilingual table so that natural language and programming language can establish a one-to-one, one-to-many conversion relationship. Second, according to the data dictionary and bilingual table, establish the thinking tree model, and implement the traversal of natural language (a particular mathematical problem) through programming language. Third, establish a selection mechanism so that, through programming language, the computer knows how to make different choices and responses corresponding to different natural languages. The result is: Through the exploration of the cognitive features of programming language and natural language, establish the mechanism of the mutual transformation between programming language and natural language. The significance is: through the use of two different languages, it can establish the mechanism of human-computer interaction. For the one-to-one situations, it can be automatically converted based on rules. On the other hand, for the one-to-many situation, it can realize machine learning, moreover, deep learning based on statistics. Thus, it lays the foundation for the application of artificial intelligence in the field of education.

Highlights

  • Artificial Intelligence is a new technical science for researching and developing theories, methods, technologies, and application systems for simulating, extending, and expanding human intelligence

  • For the already established one-to-one correspondence between natural language and programming language, it’s possible to realize the automatic conversion by computer. On this basis the one-to-many correspondence between natural and programming language could be conversed automatically by computer. ─ In second way, it starts from the "basic element" of natural language and programming language, constructs vocabularies and sentence tables, and bilingual tables based on established correspondences to form a data dictionary

  • In the “Thinking” software, the thinking tree is invisible to the teachers and the tested students, because the thinking tree has been compiled into the computer program through the programming language, but the computer can faithfully record every step of thinking of the tested student

Read more

Summary

Introduction

Artificial Intelligence is a new technical science for researching and developing theories, methods, technologies, and application systems for simulating, extending, and expanding human intelligence. Artificial intelligence is a branch of computer science It attempts to understand the essence of intelligence and produces a new intelligent machine that can respond in a similar manner to human intelligence. Since the basis of thinking is language, and the process of thinking is expressed through language, the study of human intelligence and the study of artificial intelligence will certainly bring language research a basic and key research role. It is an entry point, and a breakthrough point. The purpose of this paper is to establish the mechanism of mutual transformation between programming language and natural language through the their cognitive features, so that the computer can read natural language and further think like the human brain, achieving the purpose of human-computer interaction

Cognitive features of programming and natural language
Only the solution idea needs to be answered
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call