ONNX Runtime inference for Hebrew grapheme-to-phoneme conversion (ReNikud Plus)
Project description
ReNikud Plus — Hebrew Grapheme-to-Phoneme Inference
Convert unvocalized Hebrew text into IPA for TTS, speech technology, and spoken-language research.
Benchmark
Install
This repository contains only the code required for ONNX inference. It has no training pipeline, checkpoint files, or PyTorch dependency.
pip install renikud-plus
hf download notmax123/RenikudPlus model.onnx --local-dir .
Or from a clone of this repo:
uv sync
hf download notmax123/RenikudPlus model.onnx --local-dir .
Usage
from renikud_onnx import G2P
g2p = G2P("model.onnx")
print(g2p.phonemize("שלום עולם"))
# → ʃlˈom ʔolˈam
For a gender-conditioned ONNX model, pass speaker and target_speaker as
0 (unknown), 1 (male), or 2 (female):
g2p.phonemize("היא רצה", speaker=2, target_speaker=2)
Niqqud output
vocalize renders the same predictions as pointed Hebrew (niqqud) instead of
IPA — for TTS engines that read niqqud natively but ignore phoneme markup. It
accepts the same speaker / target_speaker arguments.
print(g2p.vocalize("שלום עולם"))
# → שׁלוֹם עוֹלַם
Niqqud has no stress mark, so predicted stress is not represented in this output
(it is in phonemize). Diacritization is phonetically faithful but not
publication-grade — e.g. shva in clusters is omitted.
Citation
@misc{melichov2026renikud,
title={ReNikud: Audio-Supervised Hebrew Grapheme-to-Phoneme Conversion},
author={Maxim Melichov and Yakov Kolani and Morris Alper},
year={2026},
url={https://arxiv.org/pdf/2606.20179},
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file renikud_plus-0.2.0.tar.gz.
File metadata
- Download URL: renikud_plus-0.2.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b8ec669d500de7e0b8c35b7bbc83c803e6357f02b9d16aa61019f8228cb7d7e
|
|
| MD5 |
4487b3f078872a379086c53027b8885f
|
|
| BLAKE2b-256 |
97af30667771e5b01acaeb6510d54ee66ad88400c331f2016746a373ca8b3791
|
File details
Details for the file renikud_plus-0.2.0-py3-none-any.whl.
File metadata
- Download URL: renikud_plus-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1877602a8ad98f0602e1dd04bb2e0a6ecd10f4683959d080994ed0e3c1a1057
|
|
| MD5 |
eb84cd2cdabec8ac9fd915e2b4845905
|
|
| BLAKE2b-256 |
79adb287cdd2ed458389e1b9bff5ce202f882da738fda809b85d99efbabc5166
|