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.3.tar.gz
(4.2 MB
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.3.tar.gz.
File metadata
- Download URL: phonikud_onnx-1.0.3.tar.gz
- Upload date:
- Size: 4.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07bdf751fc9e72f217d8fb123d2de76c137eb9a530ecf3e53313c4c38d064b42
|
|
| MD5 |
67f856cd23d238094e839d613b238333
|
|
| BLAKE2b-256 |
d11dcc301c1007e1d4b14d401e0db2c69d612075861c566ae1b4680646e4b4fc
|
File details
Details for the file phonikud_onnx-1.0.3-py3-none-any.whl.
File metadata
- Download URL: phonikud_onnx-1.0.3-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e1906c2c8f8ec31ccd4156afabfe967b0248bde5d1ba16026314e96e6f59735
|
|
| MD5 |
ca0b049956b1328d3d9dd0afcde17b6d
|
|
| BLAKE2b-256 |
2dee34c194bafed366b9279740c68ace4760469dab5c78747d0c26debd77ddd6
|