Skip to main content

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ʊ/"]}]}

ipa_in_str = scraper.get_ipa_in_str("hello")
# returned value
# uk: ['/heˈləʊ/']; us: ['/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.2.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

english_ipa-0.2.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file english_ipa-0.2.1.tar.gz.

File metadata

  • Download URL: english_ipa-0.2.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for english_ipa-0.2.1.tar.gz
Algorithm Hash digest
SHA256 4ebbd2315dd9b162ebfb4b7c0b37dbd0ef903542d2380f6ec4535bf35388ed57
MD5 395aab2164b16e9f9ddd588f898840bf
BLAKE2b-256 5775a7c208d12558f2be4ffce49530dd1dc4453c81f6b8952ccc4d2b93bbef95

See more details on using hashes here.

File details

Details for the file english_ipa-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: english_ipa-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for english_ipa-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9247bf902d5816bb11608d89711db1699933e81145b83021be754b17be5738f6
MD5 76bbe10396c15cac9aef0336af9a2398
BLAKE2b-256 0178ede193ded3a9dc34d69f9233842829d1d1a5efb49cd3ef88ae8ec8acfb61

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page