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.1.tar.gz (5.4 kB 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.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for phonikud_onnx-1.0.1.tar.gz
Algorithm Hash digest
SHA256 93c67e5be45c2e242ecb0f5558c5a678da1d2cb58ee18ffa553d25589b57897b
MD5 42a45159af4f37930d890dcca2271bd5
BLAKE2b-256 162ce8edfb8174154ae0c0ae888a83fda4b00d158fa353419c2d51ff2e1c46b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for phonikud_onnx-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 039ed80761bddc8a02f48227b4a8e98ab5d067f3dbda1b83554454800bf9f3bd
MD5 077e51b948f9e2bfbd2514751b89e105
BLAKE2b-256 f9adb7cf05ddc9847144dd7b9b3041d4ccc00151930ff7fb2ed8e05c93020b45

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