- واجهة مستخدم حديثة مع ثيم رمادي أنيق
- فحص تلقائي للأخطاء اللغوية والإملائية
- قاعدة بيانات تصحيحات شاملة قابلة للتوسيع
- استيراد الملفات: دعم ملفات TXT و DOCX
- تصدير التقارير: تصدير النتائج كملفات نصية أو تقارير Word
- إحصائيات مفصلة: عرض عدد الأخطاء وأنواعها
- واجهة عربية بالكامل مع دعم RTL
- Python 3.7 أو أحدث
- PyQt6
- python-docx (اختياري - لاستيراد/تصدير ملفات Word)
- استنسخ المستودع:
git clone https://github.com/ayzem88/المختار-الإملائي.git
cd المختار-الإملائي- ثبت المتطلبات:
pip install -r requirements.txtقم بتشغيل البرنامج:
python "0.1 أسلوبي.py"- تحميل ملف التصحيحات: البرنامج يحمل
corrections.jsonتلقائياً، أو يمكنك تحميل ملف آخر - إدخال النص: اكتب النص العربي أو استورد ملف TXT/DOCX
- فحص النص: اضغط على زر "فحص النص" أو استخدم الاختصار
Ctrl+Return - مراجعة الأخطاء: ستظهر الأخطاء المكتشفة في القائمة اليسرى مع التصحيحات المقترحة
- تصدير التقرير: يمكنك تصدير التقرير كملف نصي أو تقرير Word
Ctrl+O: استيراد ملف TXTCtrl+S: تصدير النتيجةCtrl+L: تحميل ملف التصحيحاتCtrl+Return: فحص النصCtrl+Del: مسح الكلCtrl+Q: إغلاق البرنامج
0.1 أسلوبي.py: الملف الرئيسي للواجهة الرسوميةcorrections.json: قاعدة بيانات التصحيحات (قاموس الأخطاء والتصحيحات)requirements.txt: قائمة المتطلباتLICENSE: ترخيص MITREADME.md: ملف التوثيق الرئيسي
ملف corrections.json يحتوي على قاموس بسيط:
{
"الكلمة_الخاطئة": "الكلمة_الصحيحة",
"مثال": "مثال آخر"
}يمكنك إضافة المزيد من التصحيحات بسهولة.
- اكتشاف الأخطاء الإملائية واللغوية
- عرض السياق لكل خطأ
- إحصائيات عن عدد الأخطاء وتكرارها
- تصدير تقرير نصي بسيط
- تصدير تقرير Word منسق مع جداول
نرحب بمساهماتكم! يمكنك المساهمة من خلال:
- فتح issue للإبلاغ عن مشاكل أو اقتراح ميزات جديدة
- إرسال pull request لإضافة ميزات أو إصلاح أخطاء
- إضافة المزيد من التصحيحات إلى
corrections.json - تحسين التوثيق
هذا المشروع مرخص تحت MIT License - راجع ملف LICENSE للتفاصيل.
تم تطوير هذا المشروع بواسطة أيمن الطيّب بن نجي (ayzem88)
للاستفسارات أو المساهمة، يمكنك التواصل معي عبر:
- البريد الإلكتروني: aymen.nji@gmail.com
- البرنامج يحتاج إلى ملف
corrections.jsonللعمل - دعم ملفات DOCX يتطلب تثبيت
python-docx - يمكنك تخصيص ملف التصحيحات حسب احتياجاتك
- إضافة المزيد من التصحيحات إلى قاعدة البيانات
- دعم المزيد من صيغ الملفات
- إضافة اقتراحات تلقائية للتصحيحات
- تحسين خوارزمية اكتشاف الأخطاء
- إضافة واجهة سطر الأوامر (CLI)
A sophisticated tool for correcting linguistic and spelling errors in Arabic texts using a modern graphical interface.
- Modern User Interface with elegant gray theme
- Automatic Checking for linguistic and spelling errors
- Comprehensive Correction Database that can be expanded
- File Import: Support for TXT and DOCX files
- Report Export: Export results as text files or Word reports
- Detailed Statistics: Display number of errors and their types
- Fully Arabic Interface with RTL support
- Python 3.7 or later
- PyQt6
- python-docx (optional - for importing/exporting Word files)
- Clone the repository:
git clone https://github.com/ayzem88/style-checker.git
cd style-checker- Install requirements:
pip install -r requirements.txtRun the program:
python "0.1 أسلوبي.py"- Load Correction File: The program automatically loads
corrections.json, or you can load another file - Enter Text: Type Arabic text or import a TXT/DOCX file
- Check Text: Press the "فحص النص" button or use the shortcut
Ctrl+Return - Review Errors: Detected errors will appear in the left list with suggested corrections
- Export Report: You can export the report as a text file or Word report
Ctrl+O: Import TXT fileCtrl+S: Export resultCtrl+L: Load correction fileCtrl+Return: Check textCtrl+Del: Clear allCtrl+Q: Close program
0.1 أسلوبي.py: Main graphical interface filecorrections.json: Correction database (dictionary of errors and corrections)requirements.txt: Requirements listLICENSE: MIT LicenseREADME.md: Main documentation file
The corrections.json file contains a simple dictionary:
{
"incorrect_word": "correct_word",
"example": "another example"
}You can easily add more corrections.
- Detection of spelling and linguistic errors
- Display context for each error
- Statistics on number of errors and their frequency
- Export simple text report
- Export formatted Word report with tables
We welcome contributions! You can contribute by:
- Opening an issue to report problems or suggest new features
- Submitting a pull request to add features or fix bugs
- Adding more corrections to
corrections.json - Improving documentation
This project is licensed under MIT License - see the LICENSE file for details.
Developed by Ayman Al-Tayyib Ben Naji (ayzem88)
For inquiries or contributions, you can contact me via:
- Email: aymen.nji@gmail.com
- The program needs the
corrections.jsonfile to work - DOCX file support requires installing
python-docx - You can customize the correction file according to your needs
- Add more corrections to the database
- Support for more file formats
- Add automatic correction suggestions
- Improve error detection algorithm
- Add command-line interface (CLI)