Skip to main content

airwer

Word Error Rate for Air Traffic Control.

Install

pip install airwer

Usage

import airwer

airwer.wer("descend flight level two five zero", "descend FL250")  # 0.0
airwer.wer("turn heading two one zero", "turn heading 220")        # > 0.0

API

Each takes a single utterance (str) or a corpus (Sequence[str]), plus an optional WerConfig to override the default CANONICAL profile.

Function What it scores
wer(ref, hyp) Corpus Word Error Rate (the default metric)
cer(ref, hyp) Character Error Rate
numeric_wer(ref, hyp) WER over numbers only - safety-critical digits
agreement(a, b) Symmetric [0, 1] overlap of two transcripts (1 = identical), for model-vs-model voting
ladder(ref, hyp) WER at each normalization rung, raw to semantic
process(ref, hyp) Full WerResult - every metric plus per-utterance and distribution stats

normalize(text) exposes the normalization step on its own. WerConfig, the profiles presets, and the vocab term lists let you tune phraseology handling.

Metadata

Release files for airwer 0.2.4

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

Source distribution (sdist)

Source distribution for airwer 0.2.4
File Size Uploaded Provenance Actions
airwer-0.2.4.tar.gz 89.4 kB With provenance Details for airwer-0.2.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for airwer 0.2.4
File Interpreter ABI Platform Actions
airwer-0.2.4-py3-none-any.whl Python 3 none any Details for airwer-0.2.4-py3-none-any.whl

Total release size: 111.2 kB

Release files / airwer-0.2.4.tar.gz

Download URL airwer-0.2.4.tar.gz
Size 89.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f322f4d5582a894e310196442945f6c6ab2cc32aa5f0f4c2786c7153c1fe4d3e
BLAKE2b-256 checksum
How to use checksums
8c78ce3119aed2600e16e7ffca20f3c247c0c7a7bff80f5e3f0db3128d67c142
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.

Transparency log

Release files / airwer-0.2.4-py3-none-any.whl

Download URL airwer-0.2.4-py3-none-any.whl
Size 21.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3724ee6baa487637f8701c72a84937fb1f079a18bd9242b34b451fd95c2096ce
BLAKE2b-256 checksum
How to use checksums
08bf45f87b164be43c045b028e4f0ec4c6b83d2bf06293ec7da6d7ae40de86dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.

Transparency log

Security for airwer 0.2.4

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for airwer-0.2.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.

Transparency log

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.

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