Skip to main content

G2P in Hebrew

Project description

renikud-onnx

Hebrew grapheme-to-phoneme (G2P) inference via ONNX. Converts unvocalized Hebrew text to IPA phonemes.

Install

pip install renikud-onnx

Usage

from renikud_onnx import G2P

g2p = G2P("model.onnx")
print(g2p.phonemize("שלום עולם"))
# → ʃalˈom ʔolˈam

Export

To export a trained checkpoint to ONNX (requires the training repo):

uv run scripts/export.py --checkpoint ../outputs/g2p-augmented/checkpoint-1500 --output model.onnx

The vocab is embedded as metadata inside the .onnx file — no extra files needed at runtime.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

renikud_onnx-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file renikud_onnx-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: renikud_onnx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for renikud_onnx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9dd808ca3604a30fc4cea54050de8d228ca2f5c97cdd7ac0d06a3014af6da028
MD5 22c1e741771cbd0b11591e8f609ba5c8
BLAKE2b-256 21a81e7a558db1602be08febe87ff3d5df7b11b2efc19cd4d4c95699f582b5bd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page