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

Setup

Debian/Ubuntu Linux

  1. Install necessary packages:
sudo apt install git python-pip
python -m pip install pyarabic arramooz-pysqlite qalsadi tashaphyne mysam-tagmanager
  1. Clone mishkal project from GitHub:
git clone https://github.com/linuxscout/mishkal.git

Usage

Windows :

GUI: Linux

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

How does Mishkal work:

Mishkal use a rule based method to detect relations and diacritics, First, it analyzes all morphological cases, it generates all possible diacritized word forms, by detecting all affixes and check it in a dictionary. second, It add word frequency to each word. The two previous steps are made by support/Qalsadi ( arabic morphological analyzer), the used dictionary is a separated project named 'Arramooz: arabic dictionnary for morphology". Third, we use a syntax analyzer to detect all possible relations between words. The syntax library is named support/ArAnaSyn. This analyzer is basic for the moment, it use only linear relations between adjacent words.

Forth, all data generated and relations will be analyzed semantically, to detect semantic relation in order to reduce ambiguity. The use libary is support/asmai ( Arabic semantic analysis). The semantic relations extraction is based on corpus. The used corpus is named "Tashkeela: arabic vocalized texts corpus".

In the final stage, The module mishkal/tashkeel tries to select the suitable word in the context, it tries to get evidents cases, or more related cases, else, it tries to select more probable case, using some rules like select a stop word by default, or select Mansoub case by default.

The rest of program provides functions to handles interfaces and API with web/desktop or command line

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"},
حيث
النتيجة تكون من الشكل
1
{"result": " السّلامُ عَلَيكُمْ اهلا بِكُمْ كَيْفَ حالُكُمْ", "order": "0"}
حيث ## Featured Posts - “مشكال” لتشكيل النصوص العربية بإحترافية [كمال فودة](http://www.prameg2day.com/?p=5194) - كيفيشكيل الحروف والكلمات أو حتى نصوص باللغة العربية في ثواني من خلال متصفحك- [رضا بوربعة](http://www.th3professional.com/2015/09/blog-post_36.html) - خدمة عربية جديدة : تشكيل النصوص العربية [Sam Hamou](http://3-arabi.blogspot.com/2015/05/mishkal-arabic-3arabi.html) - إطلاق الإصدار التجريبي برنامج مشكال لتشكيل النصوص العربية [Zaid AlSaadi](http://itwadi.com/node/2184) - مشكال: الطريق نحو التشكيل [مدونة اليراع](https://tahadz.wordpress.com/2011/07/08/mishkal00/) - مشكال لتشكيل النصوص العربية: إطلاق واجهة سطح المكتب [مدونة اليراع](https://tahadz.wordpress.com/2012/01/07/mishkaldesktop/) - تعرّف على مشاريع “تحدّث” .. مشاريعٌ للغةٍ عظيمة [محمد هاني صباغ](http://www.arageek.com/tech/2014/11/28/tahdz-new-services-for-arabic-writing.html)