No project description provided
Project description
English IPA
a python package for getting the IPA of an given English word
Usage
from english_ipa.cambridge import CambridgeDictScraper
scraper = CambridgeDictScraper()
ipa_in_dict = scraper.get_ipa_in_dict("hello")
# returned value
# {'word': 'hello', 'ipas': [{'region': 'uk', 'ipas': ['/heˈləʊ/']}, {'region': 'us', 'ipas': ['/heˈloʊ/']}]}
ipa_in_json = scraper.get_ipa_in_json("hello")
# returned value
# {"word":"hello","ipas":[{"region":"uk","ipas":["/heˈləʊ/"]},{"region":"us","ipas":["/heˈloʊ/"]}]}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
english_ipa-0.1.1.tar.gz
(2.1 kB
view details)
Built Distribution
File details
Details for the file english_ipa-0.1.1.tar.gz
.
File metadata
- Download URL: english_ipa-0.1.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eec8432b69f7d43f58d31564276ea69906c52a4974e7a8a4b2938681f86d409e |
|
MD5 | d4c9312ed3baa992edf5fb18bde835f0 |
|
BLAKE2b-256 | 2d4014196d965546d7fe8e46fcd55517ec0d860f5482208d91671be8e3842cb7 |
File details
Details for the file english_ipa-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: english_ipa-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4486b4745e7a315f9e95d86da081a86bf75fb19a0fb2d205a94511e0adfc0e55 |
|
MD5 | 4cd5fc71ae017cfa550dc6e679ef6033 |
|
BLAKE2b-256 | eca53b5330c88a93ff994b5411b62d301de33ef6689b1479b821e4e56ba01be3 |