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!
Release files for pronouncing 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pronouncing-0.3.0.tar.gz | 17.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pronouncing-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.0 kB
Release files / pronouncing-0.3.0.tar.gz
| Download URL | pronouncing-0.3.0.tar.gz |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
349664045d059f44032e5fda626210490b1808e4969194a958dd205c526e978a
|
|
BLAKE2b-256 checksum How to use checksums |
f5cd87ff0e7fcd1acdb25955735658c61aca75800e1570270e29f3c57da07235
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / pronouncing-0.3.0-py3-none-any.whl
| Download URL | pronouncing-0.3.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
347bd30f00e28048474b99a8f1fc2e80f845dabdd7f3dce9d03c84f02c710f04
|
|
BLAKE2b-256 checksum How to use checksums |
b75decb2b6e822df7fb0c86939b29bc48193e15c350433821e5f4c7d669e79cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|