Docs
Install it and score a recording.
Pronunciada is a Python package that needs no account and no key. The 52 MB model is downloaded the first time you score something. Scoring runs on your machine and no recording leaves it.
pip install pronunciada
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.09, the word "float"
result.words[7].phones # f 0.84, l 0.26, oʊ 0.35, t 0.57
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 numbers above come from the first recording on the samples page.
10 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.
More than one recording
Create a Scorer once and reuse it, so the model is loaded 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, the tone of each Mandarin syllable and a score for each Mandarin character, and warnings when a recording is clipped, noisy or mostly silence. result.contrast(word, sound, against="i") checks whether the speaker said the expected sound or the named one. A drill on “ship” and “sheep” needs that check.
Outside Python
| Where | How | Details |
|---|---|---|
| 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 |
| Browser, C and C++ | the scoring core in C++, with a WebAssembly build; it gives the Python package's numbers in all 10 languages | cpp/, results |
| NVIDIA GPU | Scorer(..., device="cuda") or --device cuda | docs/GPU.md |
Guides
Listen before you install
You can listen to nine scored recordings or try your own voice in the browser.
pronunciada check clip.wav \ "Buenos días" --lang es