viter
Forced alignment in one binary. The Montreal Forced Aligner recipe, on your GPU.
Install
uv pip install viter
The wheel ships the viter command and the Python API. For the binary alone,
cargo binstall --git https://github.com/thewh1teagle/viter viter or the
releases page.
Use
viter train corpus/ --dict dict.txt -o model.viter
viter align corpus/ model.viter -o out/
viter serve out/
corpus/ holds audio files with a same-named .txt transcript beside each one. Without a dictionary every token is a phoneme, so any language works. An existing MFA model loads with viter import.
Pretrained English models and dictionaries: models-v1.0.
Python
import viter
model = viter.train("corpus/", dict="dict.txt")
alignment = model.align("audio.wav", "the quick brown fox")
alignment.to_textgrid("audio.TextGrid")
Examples in crates/python/examples/.
Documentation
docs/ — CLI flags, corpus format, the Python API, the training recipe, and how the numbers were measured.
MIT.
Metadata
Release files for viter 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| viter-0.5.1-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details for viter-0.5.1-cp39-abi3-win_amd64.whl |
| viter-0.5.1-cp39-abi3-manylinux_2_28_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.28+ x86-64 | Details for viter-0.5.1-cp39-abi3-manylinux_2_28_x86_64.whl |
| viter-0.5.1-cp39-abi3-manylinux_2_28_aarch64.whl | CPython 3.9 | abi3 | Linux glibc 2.28+ ARM64 | Details for viter-0.5.1-cp39-abi3-manylinux_2_28_aarch64.whl |
| viter-0.5.1-cp39-abi3-macosx_11_0_arm64.whl | CPython 3.9 | abi3 | macOS 11.0+ ARM64 | Details for viter-0.5.1-cp39-abi3-macosx_11_0_arm64.whl |
| viter-0.5.1-cp39-abi3-macosx_10_12_x86_64.whl | CPython 3.9 | abi3 | macOS 10.12+ x86-64 | Details for viter-0.5.1-cp39-abi3-macosx_10_12_x86_64.whl |
Total release size: 28.6 MB
Release files / viter-0.5.1-cp39-abi3-win_amd64.whl
| Download URL | viter-0.5.1-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 6.4 MB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
4e2142f3c5be1d532a179fb4b1bd6504d5b49e8fc96afa90b54e67da56311a6a
|
|
BLAKE2b-256 checksum How to use checksums |
79178562d98da2cfaf9be166db4a4499fac84e01aedbd3d006ec7700934483dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / viter-0.5.1-cp39-abi3-manylinux_2_28_x86_64.whl
| Download URL | viter-0.5.1-cp39-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 6.1 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
61a637e774b1ffe6e155fb0becb01860c6ad70d37cea86f80cb184888082d713
|
|
BLAKE2b-256 checksum How to use checksums |
c3641b1311ee9c2d24d6bca80822fe49f791887cb4b10093b9abf48367ddc951
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / viter-0.5.1-cp39-abi3-manylinux_2_28_aarch64.whl
| Download URL | viter-0.5.1-cp39-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 5.5 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
0e2c8bdf71dcd4c83aee8c3fc798fbd2abe5745536d96de8975918be1474ac23
|
|
BLAKE2b-256 checksum How to use checksums |
3573b7e4a585e9e93f758ad4e37d9244ca04eba81c30a9a2fbd80a0982981a21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / viter-0.5.1-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | viter-0.5.1-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 5.1 MB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
003ca299d0e19ac7ecc7f8166266f8a348fc717ca34065db151a9ee55991ba65
|
|
BLAKE2b-256 checksum How to use checksums |
ea0b92569f3c034cb641b506a285d102157c75450b15f9afb4c2d176097ebff3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / viter-0.5.1-cp39-abi3-macosx_10_12_x86_64.whl
| Download URL | viter-0.5.1-cp39-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 5.6 MB |
| Tags | CPython 3.9 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
679d3225207602b380b0c1aa4c15ccc010d66a30bc6aecc4c66ed933b5f26a5f
|
|
BLAKE2b-256 checksum How to use checksums |
64316a3298b4b36d3f38a7a9227695f5bf0a78d0740cc541e0f39a53b454c8ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Security for viter 0.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.