Skip to main content

alignment-comparison-plots

GitHub

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.

Full documentation →

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

Metadata

Release files for alignment-comparison-plots 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alignment-comparison-plots 0.1.1
File Size Uploaded Provenance
alignment_comparison_plots-0.1.1.tar.gz 536.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for alignment-comparison-plots 0.1.1
File Interpreter ABI Platform
alignment_comparison_plots-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 548.6 kB

Release files / alignment_comparison_plots-0.1.1.tar.gz

Download URL alignment_comparison_plots-0.1.1.tar.gz
Size 536.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d5aa66044fa7d9e2871f8aa14205a60d32918766cd81248098318b69e542ca40
BLAKE2b-256 checksum
How to use checksums
b94c3b8e6c262abf4d7b78b44c04d30ac058a3fe8f60685e8ebdbbd538b5f08d
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / alignment_comparison_plots-0.1.1-py3-none-any.whl

Download URL alignment_comparison_plots-0.1.1-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a5bde06fa72a0be04ff8e0011fa612c12c43455bcbf1303343543db39f134ec
BLAKE2b-256 checksum
How to use checksums
519997654e96039cb9bbae5e79dd55b9f4595f6e2f20d6935a2cd00dfc0b7b62
Upload date
Uploaded using Trusted Publishing?
What is 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}

Security for alignment-comparison-plots 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page