Skip to main content

Library to load/save/modify pronunciation dictionaries (any language).

Project description

pronunciation-dictionary

PyPI PyPI MIT

Library and CLI to load/save/modify pronunciation dictionaries (any language).

Features

  • Export vocabulary
  • Export phoneme set
  • Merge multiple pronunciation dictionaries
  • Extract subset of pronunciation dictionary
  • Remove characters from vocabulary
  • Remove phonemes from pronunciations
  • Change formatting
  • Select single pronunciation per word

Roadmap

  • Adding tests
  • Implementation of printing of statistics
  • Implementation of phoneme mapping, e.g., mapping ARPAbet to IPA

Example dictionaries and deserialization arguments

Excerpt from CMU (as example)

a.d. EY2 D IY1
a.m. EY2 EH1 M
a.s EY1 Z
aaa T R IH2 P AH0 L EY1
aaberg AA1 B ER0 G
aachen AA1 K AH0 N
aachener AA1 K AH0 N ER0
aaker AA1 K ER0
aalborg AO1 L B AO0 R G # place, danish
aalborg(2) AA1 L B AO0 R G

Installation

pip install pronunciation-dictionary --user

Usage

pronunciation-dictionary-cli -h

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pronunciation-dictionary-0.0.3.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pronunciation_dictionary-0.0.3-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

Details for the file pronunciation-dictionary-0.0.3.tar.gz.

File metadata

  • Download URL: pronunciation-dictionary-0.0.3.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for pronunciation-dictionary-0.0.3.tar.gz
Algorithm Hash digest
SHA256 acea5ca97e15dc93ac789cf52244d4c06f35a673bbed1db2b07f7212fb6934dc
MD5 bb6a7321785a4ce9700c8a0ed2d1da78
BLAKE2b-256 c460fa1633318a5fa735715db5dab3c003aa554e322f68008106f72411b0be3f

See more details on using hashes here.

File details

Details for the file pronunciation_dictionary-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for pronunciation_dictionary-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ea09e98af5c7e1cd0a56d858af32b4a80a84444ddb32f021f25dd43dbc468909
MD5 06b17eae5effcd754bfbac93e97bffb9
BLAKE2b-256 02bf654d00e5ae928459c2cc16bb68560fdc9773dea9e45fe45c78a32a141013

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page