pronounce: A Haskell library for interfacing with the CMU Pronouncing Dictionary

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.


Text.Pronounce is a Haskell library for interfacing and CMU Pronouncing Dictionary. It is based off of Allison Parrish's python library called pronouncing, and it exports much of the same functionality. The underlying data structure that I used for representing the dictionary was a Map from entries to lists of their possible phones as represented in the CMU dict. Many functions rely on access to the CMU dict, so I decided to encompass this underlying state of the dictionary by using the Reader Monad. When working with this library, the default setting is to load the dictionary from an included binary file, but the user has the option to parse the dictionary from a unicode text file, or encode the text file into binary themselves.

[Skip to ReadMe]


Dependenciesbase (==4.10.*), binary (>=0.8.4), containers (==0.5.*), filepath (==1.4.*), mtl (==2.2.*), text (==1.2.*) [details]
AuthorNoah Goodman
Home page
UploadedSat May 12 07:18:42 UTC 2018 by NoahGoodman




Maintainers' corner

For package maintainers and hackage trustees

Readme for pronounce-

[back to package description]


A pronunciation and rhyming library that uses the CMU Pronouncing Dictionary

This package is a basic interface for the Carnegie Mellon University Pronouncing Dictionary, based off of Allison Parrish's Python API, pronouncing.


Coming soon..