<?xml version="1.0"?>
<!DOCTYPE alphabets SYSTEM "alphabet.dtd">
<?xml-stylesheet type="text/xsl" href="alphabet.xsl"?>
<!-- Author: David MacKay with help from the students of AIMS www.aims.ac.za -->
<alphabets>
<alphabet name="Arabic (groups) with punctuation and numerals">
<orientation type="RL"/>
<encoding type="Western"/>
<palette>European/Asian</palette>
<train>training_arabic_XX.txt</train>
<space d="&#x25a1;" t=" " b="9" note="box" />
<paragraph d="&#182;" b="9"/>
<control d="Control" t="" b="8"/>
<group name="letters" b="0">
<group name="Vowels etc" b="110">
<!-- Note: the x25CC character is the dotted-circle for the vowel to combine with 
  on the canvas -->
<s d="&#x25cc;&#x064B;" t="&#x064B;"  b="90" note="FATHATAN"  />
<s d="&#x25cc;&#x064C;" t="&#x064C;"  b="91" note="dammatan - RARE"  />
<s d="&#x25cc;&#x064D;" t="&#x064D;"  b="92" note="kasratan - RARE"  />
<s d="&#x25cc;&#x064E;" t="&#x064E;"  b="93" note="fatha - RARE"  />
<s d="&#x25cc;&#x064F;" t="&#x064F;"  b="94" note="damma"  />
<s d="&#x25cc;&#x0650;" t="&#x0650;"  b="90" note="kasra - RARE"  />
<s d="&#x25cc;&#x0651;" t="&#x0651;"  b="91" note="shadda"  />
<s d="&#x25cc;&#x0652;" t="&#x0652;"  b="92" note="sukun - RARE"  />
<!-- <s d="&#x25cc;&#x0653;" t="&#x0653;"  note="maddah above (sometimes used to make combined characters)"  /> -->
<!-- <s d="&#x25cc;&#x0654;" t="&#x0654;"  b="70"  note="hamza above (sometimes used to make combined characters)"  /> -->
<!-- <s d="&#x25cc;&#x0655;" t="&#x0655;"  b="70"  note="hamza below (sometimes used to make combined characters)"  /> -->
<s d="&#x25cc;&#x0670;" t="&#x0670;"   b="93" note="superscript alef - RARE"  />
</group>			       
<group  b="60" name="hamza" >
<s d="&#x0621;" t="&#x0621;" b="70" note="HAMZA  "  />
</group>
<group  b="60" name="alef" note="&#x0627;">
<s d="&#x0622;" t="&#x0622;" b="80" note="ALEF WITH MADDA ABOVE  "  />
<s d="&#x0623;" t="&#x0623;" b="70" note="ALEF WITH HAMZA ABOVE  "  />
<!-- <s d="&#x0672;" t="&#x0672;"  b="80" note=" ALEF WITH WAVY HAMZA ABOVE  "  /> -->
<s d="&#x0624;" t="&#x0624;" b="79" note=" WAW WITH HAMZA ABOVE  "  />
<s d="&#x0625;" t="&#x0625;" b="70" note=" ALEF WITH HAMZA BELOW  "  />
<s d="&#x0626;" t="&#x0626;" b="89" note=" YEH WITH HAMZA ABOVE  "  />
<s d="&#x0627;" t="&#x0627;" b="70" note=" ALEF  "  />
</group>
<group b="61" >
<s d="&#x0628;" t="&#x0628;" b="81" note=" BEH  "  />
<s d="&#x0629;" t="&#x0629;" b="71" note=" TEH MARBUTA  "  />
<s d="&#x062A;" t="&#x062A;" b="81" note=" TEH  "  />
<s d="&#x062B;" t="&#x062B;" b="71" note=" THEH  "  />
</group>
<group b="62" >
<s d="&#x062C;" t="&#x062C;" b="72" note=" JEEM  "  />
<s d="&#x062D;" t="&#x062D;" b="82" note=" HAH  "  />
<s d="&#x062E;" t="&#x062E;" b="72" note=" KHAH  "  />
</group>
<group b="63" >
<s d="&#x062F;" t="&#x062F;" b="73" note=" DAL  "  />
<s d="&#x0630;" t="&#x0630;" b="83" note=" THAL  "  />
<s d="&#x0631;" t="&#x0631;" b="73" note=" REH  "  />
<s d="&#x0632;" t="&#x0632;" b="83" note=" ZAIN  "  />
</group>
<group b="64" >
<s d="&#x0633;" t="&#x0633;" b="74" note=" SEEN  "  />
<s d="&#x0634;" t="&#x0634;" b="84" note=" SHEEN  "  />
</group>
<group b="65" >
<s d="&#x0635;" t="&#x0635;" b="75" note=" SAD  "  />
<s d="&#x0636;" t="&#x0636;" b="85" note=" DAD  "  />
<s d="&#x0637;" t="&#x0637;" b="75" note=" TAH  "  />
<s d="&#x0638;" t="&#x0638;" b="85" note=" ZAH  "  />
</group>
<group b="66" >
<s d="&#x0639;" t="&#x0639;" b="86" note=" AIN  "  />
<s d="&#x063A;" t="&#x063A;" b="76" note=" GHAIN  "  />
<s d="&#x0641;" t="&#x0641;" b="86" note=" FEH  "  />
<s d="&#x0642;" t="&#x0642;" b="76" note=" QAF  "  />
</group>
<group b="67" >
<s d="&#x0643;" t="&#x0643;" b="87" note=" KAF  "  />
<s d="&#x0644;" t="&#x0644;" b="77" note=" LAM  "  />
<s d="&#x0645;" t="&#x0645;" b="87" note=" MEEM  "  />
<s d="&#x0646;" t="&#x0646;" b="77" note=" NOON  "  />
</group>
<group b="68" >
<s d="&#x0647;" t="&#x0647;" b="78" note=" HEH  "  />
<s d="&#x0648;" t="&#x0648;" b="79" note=" WAW  "  />
<s d="&#x0649;" t="&#x0649;" b="89" note=" ALEF MAKSURA (Looks like YEH!)"  />
<s d="&#x064A;" t="&#x064A;" b="79" note=" YEH  "  />
</group>
</group>
<group name="Numbers" b="113">
<s d="1" t="1"  b="105"/>
<s d="2" t="2"  b="106"/>
<s d="3" t="3"  b="107"/>
<s d="4" t="4"  b="108"/>
<s d="5" t="5"  b="109"/>
<s d="6" t="6"  b="105"/>
<s d="7" t="7"  b="106"/>
<s d="8" t="8"  b="107"/>
<s d="9" t="9"  b="108"/>
<s d="0" t="0"  b="109"/>
</group>
<group name="Arabic-Indic numbers" b="116">
<s d="&#x0661;" t="&#x0661;"  b="105"  note="ONE"/>
<s d="&#x0662;" t="&#x0662;"  b="106"  note="TWO"/>
<s d="&#x0663;" t="&#x0663;"  b="107"  note="THREE"/>
<s d="&#x0664;" t="&#x0664;"  b="108"  note="FOUR"/>
<s d="&#x0665;" t="&#x0665;"  b="109"  note="FIVE"/>
<s d="&#x0666;" t="&#x0666;"  b="105"  note="SIX"/>
<s d="&#x0667;" t="&#x0667;"  b="106"  note="SEVEN"/>
<s d="&#x0668;" t="&#x0668;"  b="107"  note="EIGHT"/>
<s d="&#x0669;" t="&#x0669;"  b="108"  note="NINE"/>
<s d="&#x0660;" t="&#x0660;"  b="109"  note="ZERO"/>
</group>
<group name="Punctuation" b="112">
<s b="94"  d="&#x066A;" t="&#x066A;"  note="Arabic percent"/>
<s b="90" d="%" t="%"/>
<s b="91" d="*" t="*"/>
<s b="92" d="+" t="+"/>
<s b="93" d="=" t="="/>
<s b="94" d="/" t="/"/>
<s b="95" d="#" t="#"/>
<s b="96" d="$" t="$"/>
<s b="97" d="|" t="|"/>
<s b="98" d="\" t="\"/>
<s b="99" d="~" t="~"/>
<s b="95" d="^" t="^"/>
<s b="96" d="_" t="_"/>
<s b="97" d="&amp;" t="&amp;"/> 
<s b="98" d="@" t="@"/>
<!--  Note: the x200F character makes the opening and closing characters face in the 
      correct (Right to Left) direction.
-->
<s b="109" d="&#x200F;&lt;&#x200F;" t="&lt;"/>
<s b="105" d="&#x200F;&gt;&#x200F;" t="&gt;"/>
<s b="107" d="&#x200F;{&#x200F;" t="{"/>
<s b="108" d="&#x200F;}&#x200F;" t="}"/>
<s b="105" d="&#x200F;[&#x200F;" t="["/>
<s b="106" d="&#x200F;]&#x200F;" t="]"/>
<s b="106" d="&#x200F;(&#x200F;" t="("/>
<s b="107" d="&#x200F;)&#x200F;" t=")"/>
<s b="109" d="&#x0022;" t="&#x0022;" note="deprecated vertical double quotation mark" />
<s b="109" d="`" t="`" note="left quote from keyboard" />
<s b="105" d="&apos;" t="&apos;" note="apostrophe" />
<s b="73" t="&#x0640;" d="&#x0640;" note="ARABIC TATWEEL joining character"/>
<s b="100" d="-" t="-"/>
<s b="101" d=":" t=":"/>
<s b="104" d="&#x061B;" t="&#x061B;"  note="Arabic semicolon"/>
<s b="102" d=";" t=";"/>
<s b="103" d="?" t="?"/>
<s b="104" d="&#x061F;" t="&#x061F;"  note="Arabic question mark"/>
<s b="100" d="!" t="!"/>
<s b="101" d="," t=","/>
<s b="102"  d="&#x060C;" t="&#x060C;"  note="Arabic comma"/>
<s b="104" d="." t="."/>
</group>
</alphabet>
<alphabet name="Arabic with punctuation and numerals">
<orientation type="RL"/>
<encoding type="Western"/>
<palette>European/Asian</palette>
<train>training_arabic_XX.txt</train>
<space d="&#x25a1;" t=" " b="9" note="box" />
<paragraph d="&#182;" b="9"/>
<control d="Control" t="" b="8"/>
<group name="letters" b="0">
<s d="&#x0621;" t="&#x0621;" b="70" note="HAMZA  "  />
<s d="&#x0622;" t="&#x0622;" b="80" note="ALEF WITH MADDA ABOVE  "  />
<s d="&#x0623;" t="&#x0623;" b="70" note="ALEF WITH HAMZA ABOVE  "  />
<!-- <s d="&#x0672;" t="&#x0672;"  b="80" note=" ALEF WITH WAVY HAMZA ABOVE  "  /> -->
<s d="&#x0624;" t="&#x0624;" b="79" note=" WAW WITH HAMZA ABOVE  "  />
<s d="&#x0625;" t="&#x0625;" b="70" note=" ALEF WITH HAMZA BELOW  "  />
<s d="&#x0626;" t="&#x0626;" b="89" note=" YEH WITH HAMZA ABOVE  "  />
<s d="&#x0627;" t="&#x0627;" b="70" note=" ALEF  "  />
<s d="&#x0628;" t="&#x0628;" b="81" note=" BEH  "  />
<s d="&#x0629;" t="&#x0629;" b="71" note=" TEH MARBUTA  "  />
<s d="&#x062A;" t="&#x062A;" b="81" note=" TEH  "  />
<s d="&#x062B;" t="&#x062B;" b="71" note=" THEH  "  />
<s d="&#x062C;" t="&#x062C;" b="72" note=" JEEM  "  />
<s d="&#x062D;" t="&#x062D;" b="82" note=" HAH  "  />
<s d="&#x062E;" t="&#x062E;" b="72" note=" KHAH  "  />
<s d="&#x062F;" t="&#x062F;" b="73" note=" DAL  "  />
<s d="&#x0630;" t="&#x0630;" b="83" note=" THAL  "  />
<s d="&#x0631;" t="&#x0631;" b="73" note=" REH  "  />
<s d="&#x0632;" t="&#x0632;" b="83" note=" ZAIN  "  />
<s d="&#x0633;" t="&#x0633;" b="74" note=" SEEN  "  />
<s d="&#x0634;" t="&#x0634;" b="84" note=" SHEEN  "  />
<s d="&#x0635;" t="&#x0635;" b="74" note=" SAD  "  />
<s d="&#x0636;" t="&#x0636;" b="84" note=" DAD  "  />
<s d="&#x0637;" t="&#x0637;" b="74" note=" TAH  "  />
<s d="&#x0638;" t="&#x0638;" b="75" note=" ZAH  "  />
<s d="&#x0639;" t="&#x0639;" b="85" note=" AIN  "  />
<s d="&#x063A;" t="&#x063A;" b="75" note=" GHAIN  "  />
<s d="&#x0641;" t="&#x0641;" b="76" note=" FEH  "  />
<s d="&#x0642;" t="&#x0642;" b="86" note=" QAF  "  />
<s d="&#x0643;" t="&#x0643;" b="76" note=" KAF  "  />
<s d="&#x0644;" t="&#x0644;" b="77" note=" LAM  "  />
<s d="&#x0645;" t="&#x0645;" b="87" note=" MEEM  "  />
<s d="&#x0646;" t="&#x0646;" b="77" note=" NOON  "  />
<s d="&#x0647;" t="&#x0647;" b="78" note=" HEH  "  />
<s d="&#x0648;" t="&#x0648;" b="79" note=" WAW  "  />
<s d="&#x0649;" t="&#x0649;" b="89" note=" ALEF MAKSURA (Looks like YEH!)"  />
<s d="&#x064A;" t="&#x064A;" b="79" note=" YEH  "  />
</group>
<group name="Vowels etc" b="110">
<s d="&#x25cc;&#x064B;" t="&#x064B;"  b="90" note="FATHATAN"  />
<s d="&#x25cc;&#x064C;" t="&#x064C;"  b="91" note="dammatan - RARE"  />
<s d="&#x25cc;&#x064D;" t="&#x064D;"  b="92" note="kasratan - RARE"  />
<s d="&#x25cc;&#x064E;" t="&#x064E;"  b="93" note="fatha - RARE"  />
<s d="&#x25cc;&#x064F;" t="&#x064F;"  b="94" note="damma"  />
<s d="&#x25cc;&#x0650;" t="&#x0650;"  b="90" note="kasra - RARE"  />
<s d="&#x25cc;&#x0651;" t="&#x0651;"  b="91" note="shadda"  />
<s d="&#x25cc;&#x0652;" t="&#x0652;"  b="92" note="sukun - RARE"  />
<!-- <s d="&#x25cc;&#x0653;" t="&#x0653;"  note="maddah above (sometimes used to make combined characters)"  /> -->
<!-- <s d="&#x25cc;&#x0654;" t="&#x0654;"  b="70"  note="hamza above (sometimes used to make combined characters)"  /> -->
<!-- <s d="&#x25cc;&#x0655;" t="&#x0655;"  b="70"  note="hamza below (sometimes used to make combined characters)"  /> -->
<s d="&#x25cc;&#x0670;" t="&#x0670;"   b="93" note="superscript alef - RARE"  />
</group>
<group name="Numbers" b="113">
<s d="1" t="1"  b="105"/>
<s d="2" t="2"  b="106"/>
<s d="3" t="3"  b="107"/>
<s d="4" t="4"  b="108"/>
<s d="5" t="5"  b="109"/>
<s d="6" t="6"  b="105"/>
<s d="7" t="7"  b="106"/>
<s d="8" t="8"  b="107"/>
<s d="9" t="9"  b="108"/>
<s d="0" t="0"  b="109"/>
</group>
<group name="Arabic-Indic numbers" b="116">
<s d="&#x0661;" t="&#x0661;"  b="105"  note="ONE"/>
<s d="&#x0662;" t="&#x0662;"  b="106"  note="TWO"/>
<s d="&#x0663;" t="&#x0663;"  b="107"  note="THREE"/>
<s d="&#x0664;" t="&#x0664;"  b="108"  note="FOUR"/>
<s d="&#x0665;" t="&#x0665;"  b="109"  note="FIVE"/>
<s d="&#x0666;" t="&#x0666;"  b="105"  note="SIX"/>
<s d="&#x0667;" t="&#x0667;"  b="106"  note="SEVEN"/>
<s d="&#x0668;" t="&#x0668;"  b="107"  note="EIGHT"/>
<s d="&#x0669;" t="&#x0669;"  b="108"  note="NINE"/>
<s d="&#x0660;" t="&#x0660;"  b="109"  note="ZERO"/>
</group>
<group name="Punctuation" b="112">
<s b="94"  d="&#x066A;" t="&#x066A;"  note="Arabic percent"/>
<s b="90" d="%" t="%"/>
<s b="91" d="*" t="*"/>
<s b="92" d="+" t="+"/>
<s b="93" d="=" t="="/>
<s b="94" d="/" t="/"/>
<s b="95" d="#" t="#"/>
<s b="96" d="$" t="$"/>
<s b="97" d="|" t="|"/>
<s b="98" d="\" t="\"/>
<s b="99" d="~" t="~"/>
<s b="95" d="^" t="^"/>
<s b="96" d="_" t="_"/>
<s b="97" d="&amp;" t="&amp;"/> 
<s b="98" d="@" t="@"/>
<s b="109" d="&#x200F;&lt;&#x200F;" t="&lt;"/>
<s b="105" d="&#x200F;&gt;&#x200F;" t="&gt;"/>
<s b="107" d="&#x200F;{&#x200F;" t="{"/>
<s b="108" d="&#x200F;}&#x200F;" t="}"/>
<s b="105" d="&#x200F;[&#x200F;" t="["/>
<s b="106" d="&#x200F;]&#x200F;" t="]"/>
<s b="106" d="&#x200F;(&#x200F;" t="("/>
<s b="107" d="&#x200F;)&#x200F;" t=")"/>
<s b="109" d="&#x0022;" t="&#x0022;" note="deprecated vertical double quotation mark" />
<s b="109" d="`" t="`" note="left quote from keyboard" />
<s b="105" d="&apos;" t="&apos;" note="apostrophe" />
<s b="73" t="&#x0640;" d="&#x0640;" note="ARABIC TATWEEL joining character"/>
<s b="100" d="-" t="-"/>
<s b="101" d=":" t=":"/>
<s b="104" d="&#x061B;" t="&#x061B;"  note="Arabic semicolon"/>
<s b="102" d=";" t=";"/>
<s b="103" d="?" t="?"/>
<s b="104" d="&#x061F;" t="&#x061F;"  note="Arabic question mark"/>
<s b="100" d="!" t="!"/>
<s b="101" d="," t=","/>
<s b="102"  d="&#x060C;" t="&#x060C;"  note="Arabic comma"/>
<s b="104" d="." t="."/>
</group>
</alphabet>
</alphabets>

