Interactive phoneme-level plots for comparing forced-alignment outputs across Praat TextGrid corpora.
Project description
alignment-comparison-plots
When two forced aligners (e.g. MFA and Wav2TextGrid) produce different .TextGrid files for the same audio, it can be hard to know where and how they disagree. This package provides ready-made Qt charts that let you visually audit alignment quality and inter-aligner agreement across an entire corpus in seconds. See the full documentation for details on the included set of plotting functions.
Install
pip install alignment-comparison-plots
# or with uv
uv add alignment-comparison-plots
Requires Python ≥ 3.11.
Quickstart
import glob
from alignment_comparison_plots import plot_phoneme_counts
paths_a = glob.glob("/path/to/alignment_a/**/*.TextGrid", recursive=True)
paths_b = glob.glob("/path/to/alignment_b/**/*.TextGrid", recursive=True)
plot_phoneme_counts(paths_a=paths_a, paths_b=paths_b, label_a="Ref", label_b="Hyp")
License
MIT
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alignment_comparison_plots-0.1.1.tar.gz.
File metadata
- Download URL: alignment_comparison_plots-0.1.1.tar.gz
- Upload date:
- Size: 536.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5aa66044fa7d9e2871f8aa14205a60d32918766cd81248098318b69e542ca40
|
|
| MD5 |
a73c7f047b7ce52b5dc374cfdfd1ce8e
|
|
| BLAKE2b-256 |
b94c3b8e6c262abf4d7b78b44c04d30ac058a3fe8f60685e8ebdbbd538b5f08d
|
File details
Details for the file alignment_comparison_plots-0.1.1-py3-none-any.whl.
File metadata
- Download URL: alignment_comparison_plots-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a5bde06fa72a0be04ff8e0011fa612c12c43455bcbf1303343543db39f134ec
|
|
| MD5 |
55df091e8cc93d7784c6fc9a5900f9e4
|
|
| BLAKE2b-256 |
519997654e96039cb9bbae5e79dd55b9f4595f6e2f20d6935a2cd00dfc0b7b62
|