Montreal Forced Aligner is a package for aligning speech corpora using Kaldi functionality.
Project description
Montreal Forced Aligner
The Montreal Forced Aligner is a command line utility for performing forced alignment of speech datasets using Kaldi (http://kaldi-asr.org/).
Please see the documentation http://montreal-forced-aligner.readthedocs.io for installation and usage.
If you run into any issues, please check the mailing list for fixes/workarounds or to post a new issue.
Installation
You can install MFA either entirely through conda or a mix of conda for Kaldi and Pynini dependencies and Python packaging for MFA itself
Conda installation
MFA is hosted on conda-forge and can be installed via:
conda install -c conda-forge montreal-forced-aligner
in your environment of choice.
Source installation
If you'd like to install a local version of MFA or want to use the development set up, the easiest way is first create the dev environment from the yaml in the repo root directory:
conda env create -n mfa-dev -f environment.yml # Linux or mac
conda env create -n mfa-dev -f environment_win.yml # Windows
Alternatively, the dependencies can be installed via:
conda install -c conda-forge python=3.8 kaldi sox librosa biopython praatio tqdm requests colorama pyyaml # All platforms
conda install -c conda-forge pynini openfst baumwelch ngram # Additional dependencies to install on Linux or Mac
MFA can be installed in develop mode via:
pip install -e .[dev]
You should be able to see appropriate output from mfa version
Development
The test suite is run via tox -e py38-win
or tox -e py38-unix
depending on the OS, and the docs are generated via tox -e docs
Quick links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Montreal Forced Aligner-2.0.0rc8.tar.gz
.
File metadata
- Download URL: Montreal Forced Aligner-2.0.0rc8.tar.gz
- Upload date:
- Size: 10.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e445d76d8060ce8ea4d6783f3e7077d3b34cb1f747866822c3ed732f14c559d9 |
|
MD5 | b0996a12071a4d6e086b39c6a057d586 |
|
BLAKE2b-256 | bccb6f29ca5e5e3e678d25bbbc0d41cfc30864960065e2870fbc69bb9ad378d7 |
Provenance
File details
Details for the file Montreal_Forced_Aligner-2.0.0rc8-py3-none-any.whl
.
File metadata
- Download URL: Montreal_Forced_Aligner-2.0.0rc8-py3-none-any.whl
- Upload date:
- Size: 257.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca3c09f1a5e435068f3e32b05d0d254f554ade96c300495cd8d238bde443d465 |
|
MD5 | 2b25764f0c0b982d77b685cdbe282e7f |
|
BLAKE2b-256 | a356c80a75ab05579d832660f050459681c7c79f500c731c918749db496487db |