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 niqqud male (fully marked) and niqqud 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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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.0-py3-none-any.whl.
File metadata
- Download URL: phonikud_onnx-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44dba8ac3e34634953a9de931ed6809a442b0e9ef3882f66aafd99a38013a443
|
|
| MD5 |
8e98fccd2a1adc7d2721696c424d8019
|
|
| BLAKE2b-256 |
e53edfbd55c23e44249424342fe54aef1ccbd5e3c4fe262139b6c89b89111f4f
|