Skip to main content

pyphony is a library to handle lexica for ASR.

Project description


A library to work with phone lexica.

  • Read and write lexica from/to a file.
  • Convert between different formats


Install the latest development version:

pip install git+



It's recommended to use a virtual environment when developing pyphony. To create one, execute the following command in the project's root directory:

python -m venv .

To install pyphony and all it's dependencies, execute:

pip install -e .

Running the test suite

pip install -e .[dev]
python test

With PyCharm you might have to change the default test runner. Otherwise, it might only suggest to use nose. To do so, go to File > Settings > Tools > Python Integrated Tools (on the Mac it's PyCharm > Preferences > Settings > Tools > Python Integrated Tools) and change the test runner to py.test.


Versions is handled using bump2version. To bump the version:

bump2version [major,minor,patch,release,num]

In order to directly go to a final relase version (skip .dev/.rc/...):

bump2version [major,minor,patch] --new-version x.x.x


Commands to create a new release on pypi.

rm -rf build
rm -rf dist

python sdist
python bdist_wheel
twine upload dist/*

Project details

Download files

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

Files for pyphony, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pyphony-0.1.0-py3-none-any.whl (16.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyphony-0.1.0.tar.gz (14.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page