Skip to main content

Pybind11 bindings for Kaldi for use with the Montreal Forced Aligner

Project description

kalpy

Pybind11 bindings for Kaldi for use in Montreal Forced Aligner

Installation

Kalpy depends on Kaldi being built as shared libraries, and the easiest way to install is via conda-forge:

conda install -c conda-forge kalpy

Kalpy is also available on pip via the mfa-kaldi package, but as this is only a binding library, it relies on Kaldi shared libraries being available. The KALDI_ROOT environment variable must be set to locate the shared libraries and header files. The easiest way to install the appropriately built kaldi libraries is via conda install -c conda-forge kaldi.

export KALDI_ROOT=/path/to/conda/enviornment
pip install mfa-kaldi

Usage

Two libraries are installed, _kalpy which contains low level bindings conforming to the original C++ style, and kalpy which is a more pythonic interface for higher level operations. The kalpy package is under heavy development and expansion to expose more functionality.

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

kalpy-kaldi-0.0.2.tar.gz (952.5 kB view details)

Uploaded Source

File details

Details for the file kalpy-kaldi-0.0.2.tar.gz.

File metadata

  • Download URL: kalpy-kaldi-0.0.2.tar.gz
  • Upload date:
  • Size: 952.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for kalpy-kaldi-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4e36749de821f07b7de8fd716a926bd0a5631b86145275bb30a998b50ee05b86
MD5 8416c97795b557606e004b3980116891
BLAKE2b-256 36dc8e4f82b2ede86dac2b2e1cd372db5e7c5f4afab9526c2419017f24b0c624

See more details on using hashes here.

Supported by

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