Pronunciada
State-of-the-art pronunciation assessment that runs on your device.
Open source · 10 languages · 52 MB
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 on recordings of real learners it is more accurate than every pronunciation-assessment system it was tested against: Azure, OpenPronounce, Lingolix, TonePerfect and Chivox. Across 163 comparisons with them it is significantly better in 118 and significantly worse in none.
It needs no GPU and no network. A sentence is scored in about 60 ms on a laptop CPU with a 52 MB model, and the audio never leaves the machine.
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
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
Pronunciada, Microsoft Azure Pronunciation Assessment, OpenPronounce, Lingolix, TonePerfect and Chivox scored the same recordings of language learners, and each system's scores were compared with the judgement of experts and teachers. Pronunciada's overall score is significantly higher than every other system's.
Behind these scores are 163 single comparisons: one system, one measure, one test. Pronunciada is significantly better in 118 of them, and no system is significantly better than Pronunciada in any.
Recordings of learners graded by experts are public for only a few languages. To cover all 10, Pronunciada was also compared with Azure, the cloud service most language-learning apps use, on 84 public tests with the same recordings and text given to both. Pronunciada is significantly better on 55 of them and Azure on none.
One of those tests runs the same way in all 10 languages. 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.
Every result here comes from the 52 MB model that Pronunciada loads by default. It is a compressed copy of the 260 MB ZIPA model and scores the same: 0.831 overall where the full model scores 0.830 (how it was made and tested). On an Apple M3 Pro it scores a 3.4-second sentence in 57 ms with four CPU threads and 121 ms with one, and uses about 0.3 GB of memory. A request to Azure for a nine-second sentence took about two seconds.
The benchmark page has every test on real learner speech with its confidence interval, and says what the tests do not show. The scoreboard has the 84 tests against Azure, which was called through its REST API (region westus) in November 2026 and was not tuned on any of this data.
Supported languages
| Language | Code | Install | Also scored |
|---|---|---|---|
| English | en |
pronunciada |
word stress |
| Mandarin, Simplified and Traditional | zh |
pronunciada[zh] |
tone of each syllable, a score for each character, 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") # precision="fp32" loads the full 260 MB model instead
result = scorer.score("clip.wav", "我家有四口人")
Besides the probabilities, a result has the timing of every sound and word, fluency and completeness scores, how native the speaker sounds (result.nativeness), the tone heard on each Mandarin syllable and a score for each Mandarin character, 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). result.contrast(word, sound, against="i") asks a stricter question, whether the speaker said the expected sound or the named one, which is what a minimal-pair drill such as "ship" and "sheep" needs (results). 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
Pronunciada compares the sounds a sentence should contain with the sounds a speech model hears in the recording. The figure follows one word of a learner's recording.
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: 2.7% score below 0.6, against 2.2%. The difference is not statistically significant.
- The benchmarks compare complete pronunciation-assessment systems: libraries, apps and cloud services. Research models built for a single task were not run.
- Coaching tips still appear on 9% to 38% 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.
- The default model needs ONNX Runtime 1.23 or newer and has been tested on the CPU only. On a GPU, Pronunciada loads the full 260 MB model.
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.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pronunciada-1.1.7.tar.gz | 35.8 MB | With provenance | Details for pronunciada-1.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pronunciada-1.1.7-py3-none-any.whl | Python 3 | none | any | Details for pronunciada-1.1.7-py3-none-any.whl |
Total release size: 71.5 MB
Release files / pronunciada-1.1.7.tar.gz
| Download URL | pronunciada-1.1.7.tar.gz |
|---|---|
| Size | 35.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6b63b2d944814681a1cf41242e97db9565d791a3553120f26425325e4b9c690
|
|
BLAKE2b-256 checksum How to use checksums |
b4c5627d76b11b3527cea5447ff1bb41cf98c8c15924777b49188c517eb289d5
|
| 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 30, 2026.
Transparency logRelease files / pronunciada-1.1.7-py3-none-any.whl
| Download URL | pronunciada-1.1.7-py3-none-any.whl |
|---|---|
| Size | 35.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3046e63ba9dea9b43c990c6a4e30636d14bf3c362ef26921ee7e61c59b60dcb5
|
|
BLAKE2b-256 checksum How to use checksums |
77913ebc49641ff98439762ad864f67ac6e90e94605b0e8a8f8c21335852f742
|
| 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 30, 2026.
Transparency logSecurity for pronunciada 1.1.7
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.
Attestation for pronunciada-1.1.7.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 30, 2026.
Transparency logA 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.