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 kalpy-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 kalpy-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.10.2.tar.gz (379.6 kB view details)

Uploaded Source

File details

Details for the file kalpy_kaldi-0.10.2.tar.gz.

File metadata

  • Download URL: kalpy_kaldi-0.10.2.tar.gz
  • Upload date:
  • Size: 379.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kalpy_kaldi-0.10.2.tar.gz
Algorithm Hash digest
SHA256 0d49f11246e2159f5f82ba4494dac5c545e5c6fa08a376a760bb4533243b03ed
MD5 d0786f896d6f30727235c62b013d0ecf
BLAKE2b-256 549f5536081af8189e78d931507bf5c72a91dbe9af5b7b70e197de2f2dc9d367

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