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.
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.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| viter-0.4.0-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details |
| viter-0.4.0-cp39-abi3-manylinux_2_28_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.28+ x86-64 | Details |
| viter-0.4.0-cp39-abi3-manylinux_2_28_aarch64.whl | CPython 3.9 | abi3 | Linux glibc 2.28+ ARM64 | Details |
| viter-0.4.0-cp39-abi3-macosx_11_0_arm64.whl | CPython 3.9 | abi3 | macOS 11.0+ ARM64 | Details |
| viter-0.4.0-cp39-abi3-macosx_10_12_x86_64.whl | CPython 3.9 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 28.4 MB
Release files / viter-0.4.0-cp39-abi3-win_amd64.whl
| Download URL | viter-0.4.0-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 6.3 MB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
ca64a46b525d5b59b22d88be423808d2ec242e0aeb814a080ce53bc6675faefc
|
|
BLAKE2b-256 checksum How to use checksums |
0659a694b309bd14eeb460ec9ac6f208635069c54df3a5abf7ae6b5d6e8d8584
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / viter-0.4.0-cp39-abi3-manylinux_2_28_x86_64.whl
| Download URL | viter-0.4.0-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 |
ac79d261a6327d257a20345730f8d548addf334ac40a00929622621af0340398
|
|
BLAKE2b-256 checksum How to use checksums |
170387a5e841dac2d0e4037d3703f79dabbbe303a08c91b8c9cec354a7cea34e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / viter-0.4.0-cp39-abi3-manylinux_2_28_aarch64.whl
| Download URL | viter-0.4.0-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 |
e07189c79fbe22783e99a88de9bf3710418b4f191d033a826e058e9875a3df3b
|
|
BLAKE2b-256 checksum How to use checksums |
715fa4a088467b2eb6944e1ec629a00bac2abcca6c4ab602f54f61eece373e27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / viter-0.4.0-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | viter-0.4.0-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 5.0 MB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e0526f0413276619a41c7ef1c7224caf9710b9ad6317d533d7b19737f62f77f1
|
|
BLAKE2b-256 checksum How to use checksums |
978d2b3ec70d766dd14c44b0013aacc1dba4d350c6087e9f9894243b999be7bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / viter-0.4.0-cp39-abi3-macosx_10_12_x86_64.whl
| Download URL | viter-0.4.0-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 |
b68165dd29e0d41f032e2ce1c60866c8909373b7024dea64ae2eaf8817951f19
|
|
BLAKE2b-256 checksum How to use checksums |
fbcbec603a874c10b3d90b574f794fc14b43440a5bdd40e241f4f49674622936
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|