Skip to main content

Pronunciada: on-device pronunciation assessment with cloud-level accuracy. The waveform of a learner saying 'It was a beautiful day for a float', cut at the word boundaries, with the probability given to each word.

Pronunciada

On-device pronunciation assessment with cloud-level accuracy.
Open source · 10 languages · 71 MB

PyPI version Python versions CI License: Apache-2.0

Website · Quick start · Benchmarks · How it works · PyPI · Hugging Face

Pronunciada scores a language learner's pronunciation sound by sound, in 10 languages, on the learner's own device. It is open source, and it is the state of the art for multilingual pronunciation assessment. Against Microsoft Azure's cloud service it comes out ahead in all 10 languages: across 84 public tests it is significantly better on 48 and worse on 2.

It needs no GPU and no network. A sentence is scored in about 40 ms on a laptop CPU with a 71 MB model, and the audio never leaves the machine.

Benchmarks on real learner speech → Pronunciada has a higher overall multilingual score than Azure, OpenPronounce, Lingolix, TonePerfect and Chivox. Across every test, it is significantly better in 89 comparisons and worse in 9.

Key figures: 48 significant wins and 2 losses against Azure, 10 languages, a 71 MB small model, 41 ms per sentence on a laptop CPU.

https://github.com/user-attachments/assets/b8641ae2-621a-49da-9b09-d404ec9887eb

Quick start

pip install pronunciada
pronunciada check clip.wav "It was a beautiful day for a float" --lang en

The command above running in a terminal and printing the scores for each word and sound.

Output as text
~ Close  sentence 75% · accuracy 7.6/10 · fluency 8.5/10   en · strictness 0.5

  It was a beautiful day for a float
           ~~~~~~~~~         ~ ^^^^^

  beautiful  63%  b 92%  [j→b 67%]  u 66%  t 58%  [ə 57%]  f 84%  ə 64%
                  [l̴ 65%]
  a          79%  [ɪ 64%]
  float      10%  f 83%  [l 27%]  [oʊ 35%]  t 56%

  → Let the air pass along the sides of the tongue for /l/ in “float”.

The recording is a learner from the speechocean762 test set (en-learner-1.mp3). The corpus annotators marked the /l/ of "float" as dropped, and Pronunciada gives that word 0.10.

The same call from Python:

import pronunciada

result = pronunciada.score("clip.wav", "It was a beautiful day for a float", lang="en")

result.prob                # 0.75, the sentence
result.words[7].prob       # 0.10, the word "float"
result.words[7].phones     # f 0.83, l 0.27, oʊ 0.35, t 0.56
result.coaching()          # the detected errors, most severe first

You give it a recording and the text the speaker was reading. It returns the probability, from 0 to 1, that a human rater would accept each sound, each word and the sentence. The model is downloaded on first use.

Benchmarks

Most language-learning apps buy their pronunciation scores from a cloud service, and the most widely used one is Microsoft Azure Pronunciation Assessment. Pronunciada was compared with it on 84 public tests, with the same recordings and text given to both.

Head-to-head comparisons with Azure by language. Significantly ahead, no significant difference, significantly behind: English 13, 4, 2. Mandarin 6, 10, 0. Japanese 4, 2, 0. Spanish 4, 2, 0. French 5, 1, 0. German 3, 4, 0. Italian 3, 3, 0. Portuguese 4, 2, 0. Russian 3, 3, 0. Korean 3, 3, 0.

Pronunciada is significantly better on 48 of the tests and Azure on 2. The other 34 show no significant difference. In each of the 10 languages Pronunciada wins more tests than it loses. Azure's two wins are both in English: it marks a native speaker's words down a little less often, and it is better at telling native from non-native speakers in one test on Common Voice recordings.

One test covers all 10 languages in the same way. A native recording is scored against a text in which one word was replaced by a word one sound away, and the system has to notice the mismatch. It is not a test on learner speech.

Changed-word detection in 10 languages, Pronunciada and Azure. English 0.981 and 0.963, Mandarin 0.979 and 0.966, Japanese 0.976 and 0.919, Spanish 0.994 and 0.942, French 0.986 and 0.937, German 0.979 and 0.887, Italian 0.979 and 0.970, Portuguese 0.967 and 0.938, Russian 0.909 and 0.909, Korean 0.974 and 0.937.

The most direct tests use recordings of learners that experts have graded by hand, which are public for English and Mandarin. Pronunciada agrees with the experts more closely than Azure on individual sounds, on words and on sentence accuracy. On English intonation the two are level.

Pearson correlation with expert scores on speechocean762, Pronunciada and Azure. Phoneme 0.700 and 0.538, word 0.640 and 0.589, sentence accuracy 0.778 and 0.673, sentence fluency 0.814 and 0.708, sentence prosody 0.805 and 0.827, sentence total 0.792 and 0.796.

It is also better at finding the sounds and the Mandarin tones that teachers marked as wrong.

Pronunciada is built on ZIPA, an open speech model, and adds the scoring around it. On the same learner tests it is significantly more accurate than ZIPA alone on 48 of 60, and less accurate on none.

Pronunciada and the unmodified ZIPA model on four learner tests. English phonemes 0.700 and 0.434, English sentences 0.778 and 0.583 (Pearson). L2-ARCTIC 0.712 and 0.659, Mandarin tone errors 0.777 and 0.552 (AUC).

These results use the full 260 MB model. The 71 MB model is slightly behind it, with 47 wins and 4 losses against Azure. On an Apple M3 Pro it scores a 3.4-second sentence in about 40 ms with four CPU threads and 65 ms with one, and uses about 0.3 GB of memory. A request to Azure for a nine-second sentence took about two seconds from the same laptop.

Time to score a 9-second recording: Pronunciada 0.33 s on the laptop with one CPU thread, Azure 2.34 s for the request to the cloud and back.

Every test and its confidence interval is in the scoreboard. Azure was called through its REST API (region westus) in November 2026 and was not tuned on any of this data.

Full real-learner benchmarks against OpenPronounce, Lingolix, TonePerfect and Chivox →

Supported languages

English, Chinese, Japanese, Spanish, French, German, Italian, Portuguese, Russian and Korean, each written in its own script.

Language Code Install Also scored
English en pronunciada word stress
Mandarin, Simplified and Traditional zh pronunciada[zh] tone of each syllable, aspiration
Japanese ja pronunciada[ja] vowel and consonant length
Spanish es pronunciada word stress
French fr pronunciada
German de pronunciada word stress
Italian it pronunciada word stress
Portuguese (Brazil) pt pronunciada word stress
Russian ru pronunciada word stress, palatalization
Korean ko pronunciada aspirated and tense consonants

pip install "pronunciada[all]" installs every language. The Japanese extra adds about 300 MB of dictionaries.

Usage

To score more than one recording, create a Scorer once:

from pronunciada import Scorer

scorer = Scorer("zh")                    # Scorer("en", precision="int8") loads the 71 MB model
result = scorer.score("clip.wav", "我家有四口人")

Besides the probabilities, a result has the timing of every sound and word, fluency and completeness scores, the tone heard on each Mandarin syllable, and warnings when a recording is clipped, noisy or mostly silence. result.coaching() lists the detected errors with what was heard instead, and pronunciada.tips.tips() turns them into short advice for the learner (docs/COACHING.md). The strictness setting, from 0 to 1, makes every score more lenient or more strict.

On an NVIDIA GPU, Scorer(..., device="cuda") or --device cuda runs the speech model with the GPU build of ONNX Runtime (docs/GPU.md).

Pronunciada also runs outside Python:

Command line pronunciada check clip.wav "Buenos días" --lang es docs/CLI.md
Local HTTP server pronunciada serve --port 8765 docs/SERVER.md
In place of Azure pronunciada serve --azure-compat answers in Azure's JSON layout docs/AZURE_COMPAT.md
MCP server pip install "pronunciada[mcp]", then pronunciada mcp docs/MCP.md

How it works

Architecture. Audio goes into ZIPA, which is frozen. Its output passes through Pronunciada's adapter, lattice scoring and calibration to give phoneme, word and sentence scores. The text goes through the lexicon and G2P into lattice scoring, and prosody heads read ZIPA and feed calibration.

Pronunciada does not retrain a speech model. ZIPA, an open phone recognizer, is used exactly as released for all 10 languages. It listens to the recording and reports the sounds it hears, without seeing the text.

Everything Pronunciada adds sits around ZIPA and comes to 36 MB. A dictionary and the sound rules of each language turn the text into the sounds a speaker should produce. A small adapter corrects ZIPA's habits in each language. For every expected sound, the scorer weighs three explanations: it was said, it was replaced by another sound, or it was dropped. Calibration models fitted on expert-scored speech turn that evidence into the probabilities you get back, and separate small models read tone, stress and length from ZIPA's inner layers.

The design is described in docs/DESIGN.md.

Limitations

  • The text being read is required. For free speech, transcribe first and pass the transcript.
  • Agreement with expert scores has been measured for English and Mandarin only. For the other 8 languages the evidence is native speech with altered text, and Common Voice recordings judged by volunteers.
  • A native English speaker's words are marked down a little more often than by Azure: about 3% score below 0.6, against about 2%.
  • Coaching tips still appear on 9% to 40% of native speakers' sentences, depending on the language.
  • Italian double consonants and Portuguese nasal vowels are detected poorly, and Japanese pitch accent is not scored (results/contrast_audit.md).
  • There are no iOS, Android or WebAssembly builds.

About

Pronunciada was written at Moglearn, a language-learning app, to score pronunciation on the learner's device instead of sending recordings to a cloud service. Every development round is written up in results/, including the approaches that were tried and dropped. The steps to reproduce the benchmarks are in docs/benchmarks_data.md; the comparison needs an Azure Speech resource, because Azure's responses are not redistributed.

License

The code is licensed under Apache-2.0. ZIPA is licensed under CC BY 4.0 and is downloaded at first use. The Italian, Portuguese and Russian pronunciation dictionaries are derived from Wiktionary and remain under CC BY-SA. docs/LICENSING.md and NOTICE list every data file with the corpus it was fitted on and its license.

Azure is a trademark of Microsoft. This project is not affiliated with or endorsed by Microsoft.

Citation

See CITATION.cff. Pronunciada depends on ZIPA (Zhu et al., ACL 2025) and was evaluated on speechocean762, OMPAL, FLEURS, Common Voice, L2-ARCTIC, EpaDB, AISHELL, Heroico, LeaP and the Speech Accent Archive.

Metadata

Release files for pronunciada 1.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 pronunciada 1.1.1
File Size Uploaded Provenance Actions
pronunciada-1.1.1.tar.gz 34.6 MB With provenance Details for pronunciada-1.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 69.1 MB

Release files / pronunciada-1.1.1.tar.gz

Download URL pronunciada-1.1.1.tar.gz
Size 34.6 MB
Tags Source
SHA-256 checksum
How to use checksums
fb648a158f0b108504957fd3342c1599f31c50d4cd532d27c1020206927f97ef
BLAKE2b-256 checksum
How to use checksums
e82d2d90e4844bf7b3c7cfd7dc84bec866ecaf483b0c1f2af500b31a17e2eca1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 26, 2026.

Transparency log

Release files / pronunciada-1.1.1-py3-none-any.whl

Download URL pronunciada-1.1.1-py3-none-any.whl
Size 34.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
84e900fd5c8e702e0bc2aa335b960075a2f5f1b58c3239f0a81e25dc97aa2bee
BLAKE2b-256 checksum
How to use checksums
3b980a2b8397f8141f19d871f63fcc61d70e0b9e03eb5566b97efcd16df3900c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 26, 2026.

Transparency log

Security for pronunciada 1.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.

Full provenance

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

Select from 2 files

Attestation for pronunciada-1.1.1.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 Nov 26, 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