Web Application

Dhad — Arabic Typing & Grammar Tool

A browser-based tool for Arabic writers — grammar checking, diacritics auto-insertion, and style suggestions powered by NLP.

  • Year: 2023
  • Duration: 4 months
  • Client: Independent Media Publication
  • Outcome: 40k monthly active users

Technologies: Next.js, Python, NLP, Arabic Processing

The Challenge

Arabic writers working on digital content had no native browser tool for grammar and style checking. Existing tools were either English-only or required desktop software installs. The client wanted something as frictionless as Grammarly — but built specifically for Modern Standard Arabic.

Our Approach

  1. Corpus & NLP Research — Partnered with an Arabic NLP researcher to build training data from 50k verified Arabic articles. The grammar model was trained and evaluated before any UI was designed.
  2. Editor Experience Design — The writing editor was the entire product — we spent 6 weeks on it. Tested three interaction models for inline corrections before settling on the approach that felt invisible.
  3. Performance & Scale — The NLP pipeline needed to return suggestions in under 400ms. Optimised Python inference, added Redis caching, and load-tested to 5k concurrent users before launch.

Core Features

  • Real-Time Grammar Check — Underlines grammar errors as you type with one-click corrections. Supports MSA and formal Arabic conventions.
  • Auto-Diacritisation — Intelligently adds short vowels (tashkeel) to selected text using a context-aware model trained on classical and modern Arabic.
  • Style Suggestions — Flags passive-voice overuse, sentence complexity, and word repetition with editorial-grade suggestions.
  • Focus Mode — A distraction-free fullscreen editor with word-count goals, writing streaks, and a dark/light toggle.

تطبيق ويب

ضاد — أداة الكتابة والنحو العربي

أداة متصفح للكتاب العرب: فحص النحو وإضافة التشكيل تلقائياً واقتراحات أسلوبية بتقنية معالجة اللغة الطبيعية.

  • السنة: 2023
  • المدة: ٤ أشهر
  • العميل: مؤسسة إعلامية مستقلة
  • النتيجة: ٤٠ ألف مستخدم شهرياً

التقنيات المستخدمة: Next.js، Python، NLP، Arabic Processing

التحدي

لم يكن لدى الكتاب العرب الذين يعملون على المحتوى الرقمي أي أداة متصفح أصلية للنحو والأسلوب. الأدوات الموجودة إما للإنجليزية فقط أو تتطلب تثبيت برامج سطح المكتب.

كيف عملنا

  1. بحث اللغة والمدونة — تشاركنا مع باحث في معالجة اللغة العربية لبناء بيانات تدريب من ٥٠ ألف مقالة عربية موثقة. تم تدريب نموذج النحو وتقييمه قبل تصميم أي واجهة.
  2. تصميم تجربة المحرر — كان محرر الكتابة هو المنتج بأكمله — قضينا فيه ٦ أسابيع. اختبرنا ثلاثة نماذج تفاعل للتصحيحات المضمنة قبل الاستقرار على النهج الذي بدا غير مرئي.
  3. الأداء والتوسع — احتاج نظام معالجة اللغة إلى إرجاع الاقتراحات في أقل من ٤٠٠ms. حسّنا استنتاج Python وأضفنا تخزين Redis واختبرنا التحميل لـ ٥ آلاف مستخدم متزامن.

الميزات الأساسية

  • فحص نحوي آني — يضع خطاً تحت الأخطاء النحوية أثناء الكتابة مع تصحيحات بنقرة واحدة.
  • تشكيل تلقائي — يضيف الحركات القصيرة للنص المحدد باستخدام نموذج مدرك للسياق مدرَّب على العربية الكلاسيكية والحديثة.
  • اقتراحات أسلوبية — يكتشف الإفراط في المبني للمجهول وتعقيد الجمل وتكرار الكلمات مع اقتراحات تحريرية.
  • وضع التركيز — محرر شاشة كاملة خالٍ من التشتيت مع أهداف عدد الكلمات وسجلات الكتابة.

Previous Project: Bayt — Real Estate Discovery App · Next Project: Mada — E-Commerce Design System · Back to Portfolio · Start a Conversation