Skip to content

tazjel/mishkal

 
 

Repository files navigation

Mishkal

Mishkal Arabic text vocalization software مشكال لتشكيل النصوص العربية

downloads downloads

Developpers: Taha Zerrouki: http://tahadz.com taha dot zerrouki at gmail dot com

Features value
Authors Authors.md
Release 1.10 Bouira
License GPL
Tracker linuxscout/mishkal/Issues
Mailinglist mishkal@googlegroups.com
Website tahadz.com/mishkal
Source Github
Download sourceforge
Feedbacks Comments
Accounts @Facebook @Twitter @Sourceforge

Usage

Windows :

  • Run MishkalGui.exe

GUI: Linux

  • interfaces/gui/mishkal-gui.py

Web server (linux, windows)

Console (linux/windows)

Usage: bin/mishkal-console -f filename [OPTIONS]

    mishkal-console 'السلام عليكم' [OPTIONS]

[-f | --file= filename]input file to mishkal-console
[-i | --ignore]   ignore the last Mark on output words.
[-r | --reduced]  Reduced Tashkeel.
[-s | --strip]    Strip tashkeel (remove harakat).
[-h | --help]     outputs this usage message
[-v | --version]  program version
[-l | --limit]    vocalize only a limited number of line
[-x | --syntax]   disable syntaxic analysis
[-m | --semantic] disable semantic analysis
[-c | --compare]  compare the vocalized text with the program output
[-t | --stat]     disable statistic tashkeel

This program is licensed under the GPL License

Files

  • file/directory category description

  • [bin]

    • mishkal-console.py program Mishkal script used on shell command
    • mishkal-gui.py program launch mishkal GUI interface with QT
    • mishkal-webserver.py web lauch mishkal web server\n
  • [docs] docs/ docs documentation

  • [setup]

    • exe_setup.py setup prepare setup for windows using py2exe
    • setup.py setup setup for library and linux package
  • [mishkal]

    • tashkeel/ Tashkeel module source
  • core/ basic API to join most of tools

  • [support]

    • aranasyn : syntaxical analyzer
    • arramooz : arabic morphological dictionary
    • asmai : semantic analyzer
    • CodernityDB : pure python, fast, NoSQL database, used as cache system to minimize load of morphological analyzer
    • collocations : collocation library ( deprecated)
    • libqutrub : verb conjugation library used by morphological analyzer
    • maskouk : collocation library
    • naftawayh : word tag library
    • pyarabic : basic arabic library
    • qalsadi ; morphological analyzer
    • spellcheck : spellchecking
    • tashaphyne : light stemmer used by morphological analyzer
  • [interfaces]

    • [web]
    • lib/ lib Libraries fot web interface
    • lib/okasha trivial web framework
    • lib/paste web frame work
    • lib/simplejson simple json library
    • files/ web files used for web service
    • templates/ web Templates used for web service
    • adawaty.py web a script for web service
    • cgirunner.py web a script for web service using cgi
    • crossdomain.xml web Configuration file to allow cross domain json API
    • index.html web an index file to avoid directory access
    • mishkal web A cgi Script used on web service
    • mishkal-webserver.py web lauch mishkal web server
    • [gui]
      • ar/ resources reources for gui arabic
  • [data]

    • data/ data databases files
  • [log]

    • tmp/ log tomporary fdirectory for web service
  • [tools]

    • cleanpyc setup a shell script to remove .pyc files
  • [test]

    • output/ test test output
    • samples/ test sample files
    • tools/ test script to use mishkal
  • [apps]

    • mintiq TTS a shell script to join mishkla with espeak Text to speech

JSON connection API:

التشكيل عن بعد

يمكن استدعاء خدمة الموقع عبر مكتبة جيسون json و ajax من أي موقع، ويمكنك استعمالها في موقعك طريقة الاستدعاء 1- باستعمال تقنية json مع مكتبة Jquery

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
<!DOCTYPE html 	PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
  <div id="result">

</div> <script> $().ready(function() { $.getJSON("http://tahadz.com/mishkal/ajaxGet", {text:"السلام عليكم\nاهلا بكم\nكيف حالكم", action:"TashkeelText"}, function(data) { $("#result").text(data.result); });

}); </script>


الاستدعاء يكون كما يأتي
1
$.getJSON("http://tahadz.com/mishkal/ajax...", {text:"السلام عليكم\nاهلا بكم\nكيف حالكم", action:"TashkeelText"},

حيث

  • text: النص المطلوب تشكيله.
  • action: العملية المطلوبة وهنا هي TashkeelText.
النتيجة تكون من الشكل
1
{"result": " السّلامُ عَلَيكُمْ اهلا بِكُمْ كَيْفَ حالُكُمْ", "order": "0"}
حيث
  • result: النص الناتج المشكول.
  • order: رقم السطر في النص الأصلي، فإذا كان النص الأصلي كبيرا يقسمه المشكال لعدد من الاسطر، وقد لا يرجعون في نفس الترتيب، لذا حددنا رقم الترتيب.

Featured Posts

  • “مشكال” لتشكيل النصوص العربية بإحترافية كمال فودة
  • كيفيشكيل الحروف والكلمات أو حتى نصوص باللغة العربية في ثواني من خلال متصفحك- رضا بوربعة
  • خدمة عربية جديدة : تشكيل النصوص العربية Sam Hamou
  • إطلاق الإصدار التجريبي برنامج مشكال لتشكيل النصوص العربية Zaid AlSaadi
  • مشكال: الطريق نحو التشكيل مدونة اليراع
  • مشكال لتشكيل النصوص العربية: إطلاق واجهة سطح المكتب مدونة اليراع
  • تعرّف على مشاريع “تحدّث” .. مشاريعٌ للغةٍ عظيمة محمد هاني صباغ

About

Mishkal is an arabic text vocalization software

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.4%
  • HTML 0.3%
  • C 0.2%
  • JavaScript 0.1%
  • Shell 0.0%
  • CSS 0.0%