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.

Try it: huggingface.co/spaces/TigreGotico/orthography2ipa runs the package in your browser.

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.136.3a2

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.136.3a2
File Size Uploaded Provenance Actions
orthography2ipa-7.136.3a2.tar.gz 16.4 MB Without provenance Details for orthography2ipa-7.136.3a2.tar.gz

Built distribution (wheel)

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

Total release size: 30.3 MB

Release files / orthography2ipa-7.136.3a2.tar.gz

Download URL orthography2ipa-7.136.3a2.tar.gz
Size 16.4 MB
Tags Source
SHA-256 checksum
How to use checksums
b4a62281e4f713169bb89abc5f10e12ddb78c45fc1ec6c21d7c133114a0de4e1
BLAKE2b-256 checksum
How to use checksums
20c62aa95e02d0b6fa01bbfedd8d2fe5b66b00f8e9a218b5509cda68666aba0a
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.136.3a2-py3-none-any.whl

Download URL orthography2ipa-7.136.3a2-py3-none-any.whl
Size 13.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
419b6b5ee1382cf5832128994b4d0cd7280b163febafc6feee4e82193f90f934
BLAKE2b-256 checksum
How to use checksums
00469fc0040b7f2afd8bf43901a11129a0abd49ae9ac2053a122e9fd7cadc4a9
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.136.3a2

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