Pronunciada

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

LanguageCodeInstallAlso scored
Englishenpronunciadaword stress
Mandarin, Simplified and Traditionalzhpronunciada[zh]tone of each syllable, a score for each character, aspiration
Japanesejapronunciada[ja]vowel and consonant length
Spanishespronunciadaword stress
Frenchfrpronunciada
Germandepronunciadaword stress
Italianitpronunciadaword stress
Portuguese (Brazil)ptpronunciadaword stress
Russianrupronunciadaword stress, palatalization
Koreankopronunciadaaspirated 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

WhereHowDetails
Command linepronunciada check clip.wav "Buenos días" --lang esdocs/CLI.md
Local HTTP serverpronunciada serve --port 8765docs/SERVER.md
In place of Azurepronunciada serve --azure-compat answers in Azure's JSON layoutdocs/AZURE_COMPAT.md
MCP serverpip install "pronunciada[mcp]", then pronunciada mcpdocs/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 languagescpp/, results
NVIDIA GPUScorer(..., device="cuda") or --device cudadocs/GPU.md

Guides

Build a practice loopFind the weakest sound, play the learner's word next to a model recording and score the retry.How it is builtHow the speech model, the adapter, the scoring and the calibration fit together.Reproduce the benchmarksWhere each test set comes from and the commands that score it.The sounds of each languageEvery sound Pronunciada can expect in each language.The C++ coreThe same scores without Python for phones and the browser.LicensesWhere the code, the model and every data file came from and how each is licensed.

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