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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

phonikud_onnx-1.0.4-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for phonikud_onnx-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 52ae9abe4f07aca5cf6e6dc7f077d51d41ded8038f83401e57a2e8b41bd8468e
MD5 9d3d8879127de2769e0a673cfe02481a
BLAKE2b-256 ba66e00fa53794c8f57b650a15a261951d5ce11443293fc9c2675e4d1932c02b

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