Skip to main content

A simple interface for the CMU pronouncing dictionary

Project description

https://img.shields.io/pypi/v/pronouncing.svg

Pronouncing is a simple interface for the CMU Pronouncing Dictionary. It’s easy to use and has no external dependencies. For example, here’s how to find rhymes for a given word:

>>> import pronouncing
>>> pronouncing.rhymes("climbing")
['diming', 'liming', 'priming', 'rhyming', 'timing']

Read the documentation here: https://pronouncing.readthedocs.org.

I made Pronouncing because I wanted to be able to use the CMU Pronouncing Dictionary in my projects (and teach other people how to use it) without having to install the grand behemoth that is NLTK.

Installation

Install with pip like so:

pip install pronouncing

License

The Python code in this module is distributed with a BSD license.

Acknowledgements

This package was originally developed as part of my Spring 2015 research fellowship at ITP. Thank you to the program and its students for their interest and support!

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

pronouncing-0.3.0.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pronouncing-0.3.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file pronouncing-0.3.0.tar.gz.

File metadata

  • Download URL: pronouncing-0.3.0.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for pronouncing-0.3.0.tar.gz
Algorithm Hash digest
SHA256 349664045d059f44032e5fda626210490b1808e4969194a958dd205c526e978a
MD5 5fa9443cc15d963cf81c9ebc66543f70
BLAKE2b-256 f5cd87ff0e7fcd1acdb25955735658c61aca75800e1570270e29f3c57da07235

See more details on using hashes here.

File details

Details for the file pronouncing-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pronouncing-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for pronouncing-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 347bd30f00e28048474b99a8f1fc2e80f845dabdd7f3dce9d03c84f02c710f04
MD5 c017ccf02d51d7ea59fdb0fdbf64c7d3
BLAKE2b-256 b75decb2b6e822df7fb0c86939b29bc48193e15c350433821e5f4c7d669e79cb

See more details on using hashes here.

Supported by

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