1from PyDictionary import PyDictionary
2
3dictionary=PyDictionary("hotel","ambush","nonchalant","perceptive")
4'There can be any number of words in the Instance'
5
6print(dictionary.printMeanings()) '''This print the meanings of all the words'''
7print(dictionary.getMeanings()) '''This will return meanings as dictionaries'''
8print (dictionary.getSynonyms())
9
10print (dictionary.translateTo("hi")) '''This will translate all words to Hindi'''
11
1from PyDictionary import PyDictionary
2
3dictionary=PyDictionary("hotel","ambush","nonchalant","perceptive")
4'There can be any number of words in the Instance'
5
6print(dictionary.printMeanings()) '''This print the meanings of all the words'''
7print(dictionary.getMeanings()) '''This will return meanings as dictionaries'''
8print (dictionary.getSynonyms())
9
10print (dictionary.translateTo("hi")) '''This will translate all words to Hindi'''