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.131.2a5

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.131.2a5
File Size Uploaded Provenance Actions
orthography2ipa-7.131.2a5.tar.gz 11.1 MB Without provenance Details for orthography2ipa-7.131.2a5.tar.gz

Built distribution (wheel)

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

Total release size: 24.2 MB

Release files / orthography2ipa-7.131.2a5.tar.gz

Download URL orthography2ipa-7.131.2a5.tar.gz
Size 11.1 MB
Tags Source
SHA-256 checksum
How to use checksums
b1fdead7e4e470419146c96a8c006f9d52ef345a936f7e51cf8ab5d9c1430f57
BLAKE2b-256 checksum
How to use checksums
5b456acf5869bd1c8eca2d97b1d2eab7284f1d1bca53458b35ba07a3728f4edc
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.2a5-py3-none-any.whl

Download URL orthography2ipa-7.131.2a5-py3-none-any.whl
Size 13.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7ac7a3fbe93e83c12ad422226836810e070fef460c318565604ef61976ec3c49
BLAKE2b-256 checksum
How to use checksums
c94383c29e8ce6840ad6d8a7b532b368465beb141cd709734524db65874b9637
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.2a5

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