Registry / ai-ml / phonikud-onnx

phonikud-onnx

JSON →
library1.0.6pypypi✓ verified 79d ago

A Python library for adding diacritics (niqqud) and phonetic marks to unpointed Hebrew text using an ONNX-based model. Current version 1.0.6, requires Python >=3.10. The project is in early development with intermittent releases.

pip install phonikud-onnx
INSTALL
IMPORT
SIG · PHONIKUD-ONNX
P
phonikud-onnx
ai-mlpythonv1.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Phonikud
from phonikud_onnx import Phonikud
from phonikud import Phonikud

Initialize Phonikud and process a Hebrew text string.

from phonikud import Phonikud p = Phonikud() result = p.phonikud("בוקר טוב") print(result) # e.g., "בֹּקֶר טוֹב"
Debug
Known issues
deprecatedThe import path 'phonikud_onnx' was used in pre-release versions and is no longer valid.
fix
Use 'from phonikud import Phonikud'.
affects: <1.0.0
gotchaThe model may produce incorrect results for non-Hebrew characters or mixed-script text.
fix
Ensure input text is primarily Hebrew; otherwise preprocess to isolate Hebrew segments.
affects: all
gotchaRequires Python 3.10 or higher; silently fails on older versions with cryptic import errors.
fix
Verify Python version: python --version (must be >=3.10).
affects: all
gotchaThe ONNX runtime may not be available by default on all architectures (e.g., some ARM setups).
fix
Install onnxruntime separately: pip install onnxruntime.
affects: all
Upgrade
Version history
1.0.6latest on PyPI · released Sep 7, 2025
Audit
Dependencies
onnxruntimerequiredRequired to run the ONNX model for inference
Agent activity
2 hits · last 30 days
node
2
Resources

No resource links recorded.