The repository or configuration that created this release differ from a previous release. View details.
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.
$ 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.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openpronounce-1.0.0.tar.gz | 4.1 MB | With provenance | Details for openpronounce-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openpronounce-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for openpronounce-1.0.0-py3-none-any.whl |
Total release size: 8.2 MB
Release files / openpronounce-1.0.0.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | openpronounce-1.0.0.tar.gz |
|---|---|
| Size | 4.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
796649153757302cf422dbfcffe9dc75b87c7980c38b0df08c86e87832e746a3
|
|
BLAKE2b-256 checksum How to use checksums |
1a0b1d9a7fe9eff12d17f4d5ae4fc448cd90b87f20a5d0c8bf61e57dcf8ede3c
|
| 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 18, 2026.
Transparency logRelease files / openpronounce-1.0.0-py3-none-any.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | openpronounce-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ead6bc83cef9324b51adf8218557ceee438b18dc71f0645b20e0ee07993f57bd
|
|
BLAKE2b-256 checksum How to use checksums |
85001051648fbc9c823e3be726f8d6a1044fad3133ae50bbe103f498d72ceb12
|
| 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 18, 2026.
Transparency logSecurity for openpronounce 1.0.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.
Change of provenance
The repository and configuration that created this release differ from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Repository
- Removed 0.4.0 github.com/Halleck45/OpenPronounce
- Added 1.0.0 github.com/OpenPronounce/OpenPronounce
Attestation for openpronounce-1.0.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 18, 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.