Add diacritics to Hebrew text along with phonetic marks
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
phonikud_onnx-1.0.5.tar.gz
(6.7 kB
view details)
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 phonikud_onnx-1.0.5.tar.gz.
File metadata
- Download URL: phonikud_onnx-1.0.5.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00b9d000bfbb68a72b0eaa95aad7c5d3459a82afda4b17fda905d6be0d330409
|
|
| MD5 |
d9f56d5909964b3e82d3380a6cd1b2b2
|
|
| BLAKE2b-256 |
96af9e5b661c4073b10897f19b54b3ad8a3d36ae07c1ffe949f7cde69995259a
|
File details
Details for the file phonikud_onnx-1.0.5-py3-none-any.whl.
File metadata
- Download URL: phonikud_onnx-1.0.5-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f23606f97a6988bec1168230e0657bf7c5bf339ad6295fbc38408156543d13c1
|
|
| MD5 |
22ca0b9cc64fba356dea8189a79007c1
|
|
| BLAKE2b-256 |
2e6176830c7817fe621fd1e5843f9503e9e728ec7bce5722fcabada6344a4fb8
|