An English dictionary wrapper with voice-pronunciation enabled
Project description
DictionaryIO
DictionaryIO is an English Dictionary wrapper with voice-pronunciation.
Installation
Use the package manager pip to install dictionaryio.
pip install dictionaryio
Usage
from dictionaryio import DictionaryIO
word = DictionaryIO('happy') # replace `happy` with any word of your choice
word.wordie # returns a string of the word. eg: 'happy'
#GET MEANING:
word.meaning() # returns the meaning of the word
#GET VOICE PRONUNCIATION:
word.pronounce() # plays pronounciation of the word - requires exit with CTRL + C
#GET EXAMPLE:
word.example() # returns a string making an example of the word
#OTHERS:
word.synonyms() # returns a list of synonyms for the word
word.figure_of_speech() # returns the figure of speech for the word
word.phonetics() # returns the phonetics of the word
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dictionaryio-0.0.2.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for dictionaryio-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ea1134b1681262bff47faf2fdb0b17f82f8d9e4c0581d23377c110f10866b37 |
|
MD5 | c0052ba5bcb638088488d3f51ca4823c |
|
BLAKE2b-256 | 0950fdc83cd186bd65b7ad7832b50f07158c869e0da8620f7f5f8998b93efd07 |