This release is a pre-release and may not be stable for production use.
orthography2ipa
orthography2ipa (o2i) turns the spelling of a language into the International Phonetic Alphabet (IPA), and it measures how languages relate to each other. Each language is a cited JSON spec in orthography2ipa/data/. One engine with no language-specific code turns the specs into transcriptions and ranked pronunciation lattices. The library ships no trained weights and no word lists.
Install
uv pip install --prerelease=allow orthography2ipa
The optional extras (hf, lexicons, validation, portuguese, loom) add features and change no transcription. getting_started.md lists them.
Quick start
import orthography2ipa
orthography2ipa.transcribe("olá mundo", "pt") # 'ɔˈla ˈmũdu'
orthography2ipa.transcribe("olá mundo", "pt-BR") # 'oˈla ˈmũdu'
Documentation
| You want to | Read |
|---|---|
| Start from the first call | docs/guide/getting_started.md |
| See every page in reading order | docs/index.md |
| Rank or rescore the readings of a spelling | docs/engine/lattice.md |
| Measure how two languages differ | docs/guide/distance.md |
| See the PER of each gold set | docs/evaluation/generated/scoreboard.md |
| Compare o2i with other G2P systems, and find the projects that build on it | docs/guide/ecosystem.md |
| Look up an exported name or a CLI option | docs/reference/api.md, docs/reference/cli.md |
| Write or correct a spec | docs/contributing/spec_authoring.md |
| Learn who writes the specs and how to report an error | docs/specs/quality_tiers.md |
| Change the repository | AGENTS.md, CONTRIBUTING.md |
License
Apache 2.0. See LICENSE.
Metadata
Release files for orthography2ipa 7.131.4a4
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 |
|---|---|---|---|---|
| orthography2ipa-7.131.4a4.tar.gz | 11.1 MB | Without provenance | Details for orthography2ipa-7.131.4a4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| orthography2ipa-7.131.4a4-py3-none-any.whl | Python 3 | none | any | Details for orthography2ipa-7.131.4a4-py3-none-any.whl |
Total release size: 24.1 MB
Release files / orthography2ipa-7.131.4a4.tar.gz
| Download URL | orthography2ipa-7.131.4a4.tar.gz |
|---|---|
| Size | 11.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b61cc438d885f353a0165a31a5991ce10d9f147a0eaddb3b063916b60aa5dc95
|
|
BLAKE2b-256 checksum How to use checksums |
5ea831764717c3a41c35652e35c18ba6d783e2896094f209a354b8909961dfd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / orthography2ipa-7.131.4a4-py3-none-any.whl
| Download URL | orthography2ipa-7.131.4a4-py3-none-any.whl |
|---|---|
| Size | 13.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f97338032da7799c8b32582bf9cf55b7d7bf31c119cbc9de6397e3aeb649e2af
|
|
BLAKE2b-256 checksum How to use checksums |
4ef3c0003daaba25ed966af79cbd4bd51a53f2d829f56ead099374b3e8fa1997
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for orthography2ipa 7.131.4a4
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.