phonikud-onnx / README.md
thewh1teagle's picture
Update README.md
e5fdbf3 verified
metadata
license: mit
language:
  - he
tags:
  - g2p
  - hebrew
  - phonemes
  - tts

Phonikud

Add diacritics to Hebrew text along with phonetic marks

See mishkal in Github

Usage

"""
pip install phonikud-onnx
wget https://huggingface.co/thewh1teagle/phonikud/resolve/main/phonikud-onnx-1.0.int8.onnx
"""

from phonikud_onnx import Phonikud

phonikud = Phonikud('phonikud-1.0.int8.onnx')
text = "הילדים אהבו במיוחד את הסיפורים הללו שהמורה הקריאה."
with_diacritics = phonikud.add_diacritics(text)
print(with_diacritics)

Credits

Special thanks ❤️ to dicta-il for their amazing Hebrew diacritics model ✨ and the dataset that made this possible!