tashkeel

Diacritize Arabic text using a three-tier pipeline with Farasa API and pyarabic.

13|4|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/Moshe-ship/hurmoz --skill tashkeel-moshe-ship
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tashkeel
Source: https://github.com/Moshe-ship/hurmoz/tree/main/tashkeel
Command: npx skills add https://github.com/Moshe-ship/hurmoz --skill tashkeel-moshe-ship

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Arabic diacritization adds tashkeel to Arabic text to improve pronunciation, readability, and NLP reliability, using a three-tier approach (Farasa API, local pyarabic tooling, and an LLM fallback).

Core Features & Use Cases

  • Farasa API-based diacritization for high-quality results on connected Arabic text.
  • Local diacritization using pyarabic for offline scenarios and lightweight processing.
  • LLM fallback to handle edge cases and texts not well-supported by the other methods.
  • Use cases include Quranic verses, poetry, learning materials, TTS enhancement, and scripts that require accurate pronunciation.

Quick Start

Diacritize the input Arabic text to add correct tashkeel.

Frequently Asked Questions about tashkeel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add tashkeel to Arabic text automatically?

Arabic diacritization adds tashkeel to text using a three-tier pipeline: the Farasa API for high-quality results, local pyarabic tooling for offline processing, and an LLM fallback for edge cases. You simply input text to receive diacritized output.

What is the best way to diacritize Quranic verses and Arabic poetry?

Diacritizing Quranic verses and poetry is best handled by the Farasa API tier, which provides high-quality results for connected Arabic text. This ensures the precise pronunciation required for educational and religious materials.

Can I use this Arabic diacritization tool offline without an API?

Yes, you can diacritize Arabic text offline using the integrated local pyarabic tooling. This tier handles lightweight processing and provides deterministic outputs when network access for the Farasa API is unavailable.

Does Arabic diacritization work for text-to-speech preparation?

Arabic diacritization works effectively for text-to-speech enhancement by adding precise tashkeel to raw text. This process improves pronunciation accuracy and readability before passing the content to TTS engines.

What happens when standard Arabic diacritization tools fail on edge cases?

When standard tools fail on unsupported texts, an LLM fallback mechanism handles the Arabic diacritization. This ensures edge cases and complex texts receive tashkeel when the Farasa API or pyarabic methods are insufficient.