Educalingo Dictionary — Package
The educalingoDictionary
Package is a basic package written in Python can download the info from the Educalingo Dictionary.
Installation
You can install, upgrade, and uninstall the educalingoDictionary
with these commands:
$ pip install educalingoDictionary
$ pip install --upgrade educalingoDictionary
$ pip uninstall educalingoDictionary
Usage
from educalingoDictionary import EducalingoDictionary
my_dictionary = EducalingoDictionary()
my_dictionary.set_language("pt")
Performing a dictionary search for the legal (nice) word.
from educalingoDictionary import EducalingoDictionary
my_dictionary = EducalingoDictionary()
# setting language to Portuguese
my_dictionary.set_language("pt")
my_dictionary.search_word(word="legal")
Get the list of synonyms through the get_synonyms
method.
from educalingoDictionary import EducalingoDictionary
my_dictionary = EducalingoDictionary()
# setting language to Portuguese
my_dictionary.set_language("pt")
my_dictionary.search_word(word="legal")
# get list of synonyms of "legal"
synonyms = my_dictionary.get_synonyms()
Available dictionaries
- bn: 'Bengali dictionary',
- de: 'German dictionary',
- en: 'English dictionary',
- es: 'Spanish dictionary',
- fr: 'French dictionary',
- hi: 'Hindi dictionary',
- it: 'Italian dictionary',
- ja: 'Japanese dictionary',
- jv: 'Javanese dictionary',
- ko: 'Korean dictionary',
- mr: 'Marathi dictionary',
- ms: 'Malay dictionary',
- pl: 'Polish dictionary',
- pt: 'Portuguese dictionary',
- ro: 'Romanian dictionary',
- ru: 'Russian dictionary',
- ta: 'Tamil dictionary',
- tr: 'Turkish dictionary',
- uk: 'Ukrainian dictionary',
- zh: 'Chinese dictionary'