Skip to main content
Pre-release

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.133.1a3

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

Source distribution (sdist)

Source distribution for orthography2ipa 7.133.1a3
File Size Uploaded Provenance Actions
orthography2ipa-7.133.1a3.tar.gz 11.7 MB Without provenance Details for orthography2ipa-7.133.1a3.tar.gz

Built distribution (wheel)

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

Total release size: 24.7 MB

Release files / orthography2ipa-7.133.1a3.tar.gz

Download URL orthography2ipa-7.133.1a3.tar.gz
Size 11.7 MB
Tags Source
SHA-256 checksum
How to use checksums
d573970eef365b4c62178af8ef6d9c24a16351a66f8e95ba89cde1574b47027d
BLAKE2b-256 checksum
How to use checksums
33aa658b1fe499f931decaaf225ccf029c62e269adb4d975f5fa99b788ffbcf9
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.133.1a3-py3-none-any.whl

Download URL orthography2ipa-7.133.1a3-py3-none-any.whl
Size 13.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c74b5b77d742fecba9ae48f12c5d2ea29e98dddb039b0a16c220d2029af5d188
BLAKE2b-256 checksum
How to use checksums
ee03aeb0a4e7da8574bd407d03b78cd9a2d60ea58d4172f3cf6971a43fe6a20d
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.133.1a3

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.

Release history Release notifications | RSS feed

This release
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