SIMPLE TRANSLATOR

Srivatsan
2 min readJun 26, 2021

Hello guys,once again i came up with my new and small project called translator. So in this page we are going to discuss about working of my program with help of SQL database. So lets move on.

In the above program i used SQL as my database to store the the words and their meanings of their respective language. First you should create a database in which all the English words must be present .To show you, i have only written few of the words and meanings.Then i imported SQL in python and retrieve all the data’s from the SQL and it is accessed by the python.

Then the word given by the user matches with the word in the database then it gives their related meanings in English or in Hindi .If no words is found, then it prints ‘no word such found’. Since the entire program is given in ‘while loop’ it keeps on asking to enter the word to find meaning to break the loop We can give a command or else we can press CTRL+c to break the loop.

So this all about my program…..Let me know your comments and feedback!!!

STAY TUNED!!!

…HAPPY CODING!!!

--

--