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

[ bsd3, library, text ] [ Propose Tags ]

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]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.1.0.1, 1.1.0.2, 1.1.0.3, 1.2.0.0
Change log ChangeLog.md
Dependencies base (>=4.10 && <4.11), binary (>=0.8.4), containers (>=0.5 && <0.6), filepath (>=1.4 && <1.5), mtl (>=2.2 && <2.3), text (>=1.2 && <1.3) [details]
License BSD-3-Clause
Author Noah Goodman
Maintainer ngoodman@uchicago.edu
Category Text
Home page https://github.com/buonuomo/Text.Pronounce
Uploaded by NoahGoodman at 2018-05-12T07:33:36Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2244 total (12 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-05-12 [all 1 reports]

Readme for pronounce-1.1.0.1

[back to package description]

Text.Pronounce

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.

Documentation

Coming soon..