phonikud-onnx
Add diacritics to Hebrew text along with phonetic marks
Enhanced model of Dicta model 🤗
Features
- Phonetics: adds phonetics diacritics
- Fast: 0.1s per sentnece (macOS M1) 🚀
- Batching: Supports multiple sentences at once 📚
- User friendly: Add diacritics with just 2 lines of code ✨
- Lightweight: Runs with onnx without heavy dependencies 🛠️
- Dual mode: Output nikud male (fully marked) and nikud haser 💡
Setup
pip install phonikud-onnx
Usage
from phonikud_onnx import Phonikud
phonikud = Phonikud("./phonikud-1.0.int8.onnx")
with_diacritics = phonikud.add_diacritics("מתכת יקרה")
print(with_diacritics)
Examples
See examples
Metadata
Release files for phonikud-onnx 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| phonikud_onnx-1.0.6.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| phonikud_onnx-1.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / phonikud_onnx-1.0.6.tar.gz
| Download URL | phonikud_onnx-1.0.6.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e2322fa95bf25055dc5a2454298cf127db164e34d5fa4a4c03fb77b027fac7e
|
|
BLAKE2b-256 checksum How to use checksums |
33d727801e54beb198fe31fddd9f57da758cf2c53090d45513d997bc935738a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.4
|
Release files / phonikud_onnx-1.0.6-py3-none-any.whl
| Download URL | phonikud_onnx-1.0.6-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68ec3862fb48394d77b160ebbc5c30106f5502672eaa575db50c5c1e48aa862c
|
|
BLAKE2b-256 checksum How to use checksums |
e3c3790e0e9500f20db7c09cc46d06682f8a17693f16c789c773cea0533da2e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.4
|