Build a simple English Dictionary in Python

preview_player
Показать описание
Let's build an English dictionary in Python which not only gives you definitions and examples, but also gives you suggestions if you make any spelling mistakes! This is a BEGINNER Python tutorial and project for me as I am documenting my learning journey.
Рекомендации по теме
Комментарии
Автор

that was greate , i love your teaching method 😍😍😍😍

sheikhamin
Автор

This was really helpful, thank you for this video. Instead of "return data[newword], could we have used recursion instead and written translate[newword] so that if the user puts yet another close match it would loop back to offering more options until either a word is found or no word is found? I've been trying, but I am getting the following error:

TypeError: 'function' object is not subscriptable

Lastly to anyone reading: Say I wanted to create my own personal dictionary based on my specific words. Would I need to painstakingly create my own JSON file, or could I convert a docx file, say, which has words and definitions but not in JSON format into a JSON? I guess what I am asking is how easy/difficult is it to convert a docx file with words and definitions in a standard word doc format into a JSON?

Excellent video, thanks again!

BrendonFerullo
Автор

it just need 3 line of code in pure python

ai.tutorials_