Skip to main content

OpenPronounce

Open-source, phoneme-level pronunciation assessment.
Give it a recording. Get the scores a human rater would give (overall, accuracy, fluency, prosody) and the words that went wrong, with the sounds actually heard. With the expected sentence or without. On your machine, on CPU.

PyPI Tests Open in Colab License: AGPL-3.0

OpenPronounce web demo: record a sentence, get a score, see which sounds went wrong

$ openpronounce developer.wav "Hello, I am a good designer"
Score        : 36.2/100
               accuracy 36.6, fluency 55.0, prosodic 45.9
Warning      : not said: good (scores unreliable)
Transcription: HELLO I AM A DEVELOPER
Heard phones : /h ə l oʊ aɪ æ m ə d ɪ v ɛ l ə p ɚ/
Mispronounced:
  - good: not said
  - designer: expected /dɪzaɪnɚ/, heard /vɛləpɚ/ (confidence 89%)

Azure Speech, SpeechAce or ELSA sell this behind an API key and a per-minute price. Here there is no key and no meter, and your learners' voices never leave your servers.

Install

pip install torch --index-url https://download.pytorch.org/whl/cpu   # CPU wheels, much smaller
pip install openpronounce

You need Python 3.10+ and ffmpeg; every language other than English also needs the espeak-ng program. The first run downloads two Wav2Vec2 checkpoints of 1.2 GB each.

Use it

openpronounce recording.wav "Hello, I am a developer"            # you know the sentence
openpronounce talk.wav                                           # you do not: free speech, any length
openpronounce bonjour.wav "Bonjour, je suis développeur" --lang fr
from openpronounce import load_audio, assess

result = assess(load_audio("recording.wav"), "Hello, I am a developer")
print(result["score"], result["scores"])     # 76.6 {'total': 76.6, 'accuracy': 86.0, 'fluency': 79.3, 'prosodic': 77.1}
print(result["reliable"], result["reasons"]) # False when the score should not be shown as it is

talk = assess(load_audio("talk.wav"))        # no text: free speech

With the sentence, you get the words that went wrong and their sounds, the words that were not said and what was said in excess. Without it, the transcript, the same four scores and the words that came out unclear. --fast loads one checkpoint instead of two, --json prints everything.

A web demo and an HTTP API come with it: docker run -p 8000:8000 $(docker build -q .), then http://localhost:8000. Fields, endpoints and settings are in docs/reference.md.

How good is it

On 2,500 recordings of learners the models never heard, each rated by five experts (speechocean762), this is how closely the overall score follows the raters (Pearson correlation):

Sentence known Free speech
Adults 0.85 0.82
Everyone 0.79 0.71
Children of 12 and under 0.67 0.42

One word in twenty is reported, and the raters rejected 54 % of those. English is the measured language. French, Spanish, German, Italian, Portuguese and Dutch run on the same models, with or without the sentence. Their native speakers score like English ones, but nobody rated learners of these languages, and the few recordings of learners that exist give a mixed picture (limits).

Those learners speak Mandarin and read short sentences. Yours may not, so measure it on your own rated recordings before you trust it:

openpronounce-evaluate manifest.csv      # columns: audio, score, and text when the sentence is known

It prints the correlation with your assessors and its 95 % interval. What the product does not do is listed in docs/limits.md, the method in docs/how-it-works.md, every figure and script in benchmarks/.

Licence

Free software under the AGPL: use it, change it, publish what you build on it under the same terms. To ship it inside a closed product, a commercial licence replaces the AGPL, for every language. See LICENSING.md. Releases up to 0.4 remain MIT.

Metadata

Release files for openpronounce 1.1.0

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

Source distribution (sdist)

Source distribution for openpronounce 1.1.0
File Size Uploaded Provenance Actions
openpronounce-1.1.0.tar.gz 5.0 MB With provenance Details for openpronounce-1.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 10.2 MB

Release files / openpronounce-1.1.0.tar.gz

Download URL openpronounce-1.1.0.tar.gz
Size 5.0 MB
Tags Source
SHA-256 checksum
How to use checksums
3f16f1778c0568e818c6eb1886cd744a014ff3f56777ac7fffdb289c6aa185bd
BLAKE2b-256 checksum
How to use checksums
51500b799b20de1e217b957df120fb904c1d7d230c27801a1c376bf687dcb405
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 19, 2026.

Transparency log

Release files / openpronounce-1.1.0-py3-none-any.whl

Download URL openpronounce-1.1.0-py3-none-any.whl
Size 5.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
10eb00eeb94a3f0050619414f6bfc9160205f8bee83013ace723719ff830dd80
BLAKE2b-256 checksum
How to use checksums
4797e9208de1736f59fdc8d8b6dfed27c0e21c69f09f28492464f6b9c02a46ca
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 19, 2026.

Transparency log

Security for openpronounce 1.1.0

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 openpronounce-1.1.0.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 19, 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