renikud-onnx
Hebrew grapheme-to-phoneme (G2P) inference via ONNX. Converts unvocalized Hebrew text to IPA phonemes.
Features
- Context-aware Hebrew G2P (text → IPA)
- Letter-level constrained decoding
- Passthrough for non-Hebrew text
- Runs on ONNX Runtime (no PyTorch)
- ~20 MB, real-time inference
Install
uv pip install renikud-onnx
Usage
The model is fetched from Hugging Face on first use:
from renikud_onnx import G2P
g2p = G2P()
print(g2p.phonemize("שלום עולם"))
# → ʃalˈom ʔolˈam
Or pass a local model path:
wget https://huggingface.co/renikud/renikud/resolve/main/model.onnx -O model.onnx
g2p = G2P("model.onnx")
Metadata
Release files for renikud-onnx 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| renikud_onnx-0.1.1.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| renikud_onnx-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.1 kB
Release files / renikud_onnx-0.1.1.tar.gz
| Download URL | renikud_onnx-0.1.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c15b4dab71ea09147a15d80a1b5b99bf9a7cd0b3577c2c3dabdcf42f0c32515a
|
|
BLAKE2b-256 checksum How to use checksums |
1ec93bf30f9d5a1b7569db2c380d6b5076e22d6619799d0dfdd0e6cf1bdcb4a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / renikud_onnx-0.1.1-py3-none-any.whl
| Download URL | renikud_onnx-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
03a8fa35aaef6fa12fd64fe8024a76526a82174417c1b75e18ebeb73d2382963
|
|
BLAKE2b-256 checksum How to use checksums |
e5d13835450b45f8a146c48ab3eb0687d07cd280098208c2ab681a5e97282767
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|