Skip to main content

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.2.tar.gz (4.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phonikud_onnx-1.0.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file phonikud_onnx-1.0.2.tar.gz.

File metadata

  • Download URL: phonikud_onnx-1.0.2.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.10

File hashes

Hashes for phonikud_onnx-1.0.2.tar.gz
Algorithm Hash digest
SHA256 0d29f555c62223871949dc45b073e0d4b4298d403d43e5cae1cbe1f46bf2cc08
MD5 8269bf4f829f8816d4122cfe74dfd09b
BLAKE2b-256 1682844be505d5eba4575ac3a1fb0f4504bf4c2e305a0886acc7688ac0b33b2d

See more details on using hashes here.

File details

Details for the file phonikud_onnx-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for phonikud_onnx-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 861ba7a0e3e61335790d5de15550575164ae7d6d9400d5ed4146568de8d30dd1
MD5 258f03303ed70557c8f00ab24f36dffc
BLAKE2b-256 1ddee1663c62659edafaa382c736009fdce4b27567842233358ef6604678e9ba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page