Skip to main content

hAraCat 🐈 adds diacritics to Arabic text

Project description

hAraCat 🐈

hAraCat is a Python library for adding diacritics automatically to Medieval Arabic text.

Install 😻

pip install haracat

Use 🐱

Diacritics can be added as follows

from haracat import diacritics_sentence
diacritics_sentence("الإجاج، مثلثة الأول: الستر.".split(" "))
>> الْإِجاجُ، مُثَلَّثَةَ الْأَوَّلِ: السِّتْرُ.

First the sentence is tokenized before the diacritics are predicted.

Credits

Khalid Alnajjar, Mika Hämäläinen, Niko Partanen and Jack Rueter

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

haracat-1.0.0.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

haracat-1.0.0-py2.py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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