pronouncing
A simple interface for the CMU pronouncing dictionary
What it is and what it does
Pronouncing wraps the CMU Pronouncing Dictionary in a lightweight Python interface, letting you look up pronunciations and find rhyming words without the overhead of installing NLTK. It depends on cmudict for the underlying phonetic data and exposes functions like rhymes() to query words by their sound patterns. The package is designed for developers, educators, and researchers who need phonetic lookups in their code.
Typical use cases include building rhyme generators, analyzing word sounds in poetry or music applications, and educational tools that teach pronunciation. The package has been actively maintained since its 2015 release and carries no known security vulnerabilities.
Use it for:
- Generate rhyming word suggestions for poetry, songwriting, or creative writing tools
- Build pronunciation-aware word games or educational applications
- Analyze phonetic patterns in text for linguistic research or NLP experiments
- Create word-search or word-puzzle solvers that match on sound rather than spelling
- Teach pronunciation and phonetics concepts in educational software
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a simple Python interface to query the CMU Pronouncing Dictionary for word pronunciations, rhymes, and phonetic matching without requiring NLTK.
Yes. Low install friction, active maintenance, permissive MIT license, no vulnerabilities, and a focused single-purpose design make this a safe choice for any project needing CMU dictionary lookups. The single dependency (cmudict) is standard and well-maintained. Install if you need rhyme or pronunciation queries without NLTK's larger footprint.
Install
pronouncing on PyPI
pip
pip install pronouncinguv
uv add pronouncingpoetry
poetry add pronouncingInstalling pronouncing
Before you install
Low friction: pure Python wheel with a single runtime dependency (cmudict). Actively maintained as of 2026-04-17 with 323 repository stars and no known vulnerabilities.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.
Quickstart
pip install pronouncing
import pronouncing
rhymes = pronouncing.rhymes("climbing")
print(rhymes)
Requires Python 3.9 or later.
Verify before relying
- Whether the package's rhyme-finding algorithm handles edge cases like homophones or variant pronunciations
- Performance characteristics when querying large numbers of words or complex phonetic patterns
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — cmudict |
| Maintenance | actively maintained — 119 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 102,403/month — #12,871 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pronouncing-0.3.0-py3-none-any.whl
Tags
More Artistic Software packages
borb reads, writes, and manipulates PDF files…
agpl · top 15,000 on PyPI
descript-audio-codecCompresses audio into discrete codes at 8 kbps…
permissive · top 15,000 on PyPI
descript-audiotoolsProvides object-oriented audio signal handling…
permissive · top 15,000 on PyPI
music21music21 is a Python toolkit for analyzing,…
permissive · top 15,000 on PyPI
KivyKivy is a Python framework for building…
permissive · top 15,000 on PyPI
stftpitchshiftShifts the pitch and timbre of audio signals…
permissive · top 15,000 on PyPI
cmudictProvides Python access to the CMU Pronouncing…
copyleft · top 15,000 on PyPI
g2p-enConverts English text to phoneme sequences…
permissive · top 5,000 on PyPI
pinyinConverts Chinese characters to pinyin…
permissive · top 15,000 on PyPI
soundexImplements the Soundex phonetic algorithm for…
copyleft · top 15,000 on PyPI
MetaphoneImplements the Metaphone and Double Metaphone…
permissive · top 15,000 on PyPI
pyphoneticsPyphonetics implements phonetic matching…
permissive · top 15,000 on PyPI
g2pkkg2pkk converts Korean text to phonetic…
permissive · top 15,000 on PyPI
gruut-lang-enProvides English language data files for…
permissive · top 15,000 on PyPI
phonemizerPhonemizer converts written text into phonetic…
copyleft · top 15,000 on PyPI
phoneticsComputes phonetic keys of strings using…
permissive · top 15,000 on PyPI