englishdictionary-0.0.1
توضیحات
Define words in the English dictionary.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | englishdictionary-0.0.1 |
| نام | englishdictionary |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | UCYT5040 & Saunders Tech |
| ایمیل نویسنده | support@saunderstech.dev |
| آدرس صفحه اصلی | https://github.com/UCYT5040/englishdictionary |
| آدرس اینترنتی | https://pypi.org/project/englishdictionary/ |
| مجوز | - |
# English Dictionary
## Usage
### `define(word:str, limit:int=50:)`
#### Arguments
**`word`** - A `str` of a single word to define. **Required**
**`limit`** - `int` that limits how many results, ordered by popularity. **Default:** `50`
#### Return
`dict`
#### Example
```py
>>> edict.define("hello")
[{'partOfSpeech': 'exclamation', 'definitions': [{'definition': 'used as a greeting or to begin a phone conversation.', 'example': 'hello there, Katie!', 'synonyms': [], 'antonyms': []}]}, {'partOfSpeech': 'noun', 'definitions': [{'definition': 'an utterance of ‘hello’; a greeting.', 'example': 'she was getting polite nods and hellos from people', 'synonyms': [], 'antonyms': []}]}, {'partOfSpeech': 'verb', 'definitions': [{'definition': 'say or shout ‘hello’.', 'example': 'I pressed the phone button and helloed', 'synonyms': [], 'antonyms': []}]}]
```
### `phonetics(word:str, limit:int=50:)`
#### Arguments
**`word`** - A `str` of a single word to find phonetics for. **Required**
**`limit`** - `int` that limits how many results, ordered by popularity. **Default:** `50`
#### Return
`dict`
#### Example
```py
>>> edict.phonetics("hello")
[{'text': 'həˈləʊ', 'audio': '//ssl.gstatic.com/dictionary/static/sounds/20200429/hello--_gb_1.mp3'}, {'text': 'hɛˈləʊ'}]
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl englishdictionary-0.0.1:
pip install englishdictionary-0.0.1.whl
نصب پکیج tar.gz englishdictionary-0.0.1:
pip install englishdictionary-0.0.1.tar.gz