pronouncing

A simple interface for the CMU pronouncing dictionary


Keywords
pronouncing
License
BSD-3-Clause
Install
pip install pronouncing==0.2.0

Documentation

pronouncing

https://coveralls.io/repos/github/aparrish/pronouncingpy/badge.svg?branch=master

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

You can also download the source code and install manually:

python setup.py install

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!