Arabic
in package
Com\Tecnick\Unicode\Data\Arabic
Tags
Table of Contents
Constants
- DIACRITIC = [ 1612 => 64606, // Shadda + Dammatan 1613 => 64607, // Shadda + Kasratan 1614 => 64608, // Shadda + Fatha 1615 => 64609, // Shadda + Damma 1616 => 64610, ]
- Array of character substitutions for sequences of two diacritics symbols.
- END = [ 1569, // HAMZAH (U+621) 1570, // ALEF (U+0627) with MADDAH ABOVE (U+0653) 1571, // ALEF (U+0627) with HAMZA ABOVE (U+0654) 1572, // WAW (U+0648) with HAMZA ABOVE (U+0654) 1573, // ALEF (U+0627) with HAMZA BELOW (U+0655) 1575, // ALEF (U+0627) 1577, // TEH MARBUTA (U+0629) 1583, // DAL (U+062F) 1584, // THAL (U+0630) 1585, // REH (U+0631) 1586, // ZAIN (U+0632) 1608, // WAW (U+0648) 1688, ]
- Array of Arabic end letters
- HEH = 1607
- Unicode code for ARABIC LETTER HEH (U+0647)
- LAA = [ 1570 => [65269, 65270, 65269, 65270], // ALEF (U+0627) with MADDAH ABOVE (U+0653) 1571 => [65271, 65272, 65271, 65272], // ALEF (U+0627) with HAMZA ABOVE (U+0654) 1573 => [65273, 65274, 65273, 65274], // ALEF (U+0627) with HAMZA BELOW (U+0655) 1575 => [65275, 65276, 65275, 65276], ]
- Arabic laa letter: (char code => [isolated, final, initial, medial]).
- LAM = 1604
- Unicode code for ARABIC LETTER LAM (U+0644)
- LIGATURE_ALLAH_ISOLATED_FORM = 65010
- Unicode code for ARABIC LIGATURE ALLAH ISOLATED FORM (U+FDF2)
- QUESTION_MARK = 1567
- Unicode code for ARABIC QUESTION MARK (U+061F)
- SHADDA = 1617
- Unicode code for ARABIC SHADDA (U+0651)
- SUBSTITUTE = [1569 => [65152], 1570 => [65153, 65154, 65153, 65154], 1571 => [65155, 65156, 65155, 65156], 1572 => [65157, 65158], 1573 => [65159, 65160, 65159, 65160], 1574 => [65161, 65162, 65163, 65164], 1575 => [65165, 65166, 65165, 65166], 1576 => [65167, 65168, 65169, 65170], 1577 => [65171, 65172], 1578 => [65173, 65174, 65175, 65176], 1579 => [65177, 65178, 65179, 65180], 1580 => [65181, 65182, 65183, 65184], 1581 => [65185, 65186, 65187, 65188], 1582 => [65189, 65190, 65191, 65192], 1583 => [65193, 65194, 65193, 65194], 1584 => [65195, 65196, 65195, 65196], 1585 => [65197, 65198, 65197, 65198], 1586 => [65199, 65200, 65199, 65200], 1587 => [65201, 65202, 65203, 65204], 1588 => [65205, 65206, 65207, 65208], 1589 => [65209, 65210, 65211, 65212], 1590 => [65213, 65214, 65215, 65216], 1591 => [65217, 65218, 65219, 65220], 1592 => [65221, 65222, 65223, 65224], 1593 => [65225, 65226, 65227, 65228], 1594 => [65229, 65230, 65231, 65232], 1601 => [65233, 65234, 65235, 65236], 1602 => [65237, 65238, 65239, 65240], 1603 => [65241, 65242, 65243, 65244], 1604 => [65245, 65246, 65247, 65248], 1605 => [65249, 65250, 65251, 65252], 1606 => [65253, 65254, 65255, 65256], 1607 => [65257, 65258, 65259, 65260], 1608 => [65261, 65262, 65261, 65262], 1609 => [65263, 65264, 64488, 64489], 1610 => [65265, 65266, 65267, 65268], 1649 => [64336, 64337], 1655 => [64477], 1657 => [64358, 64359, 64360, 64361], 1658 => [64350, 64351, 64352, 64353], 1659 => [64338, 64339, 64340, 64341], 1662 => [64342, 64343, 64344, 64345], 1663 => [64354, 64355, 64356, 64357], 1664 => [64346, 64347, 64348, 64349], 1667 => [64374, 64375, 64376, 64377], 1668 => [64370, 64371, 64372, 64373], 1670 => [64378, 64379, 64380, 64381], 1671 => [64382, 64383, 64384, 64385], 1672 => [64392, 64393], 1676 => [64388, 64389], 1677 => [64386, 64387], 1678 => [64390, 64391], 1681 => [64396, 64397], 1688 => [64394, 64395, 64394, 64395], 1700 => [64362, 64363, 64364, 64365], 1702 => [64366, 64367, 64368, 64369], 1705 => [64398, 64399, 64400, 64401], 1709 => [64467, 64468, 64469, 64470], 1711 => [64402, 64403, 64404, 64405], 1713 => [64410, 64411, 64412, 64413], 1715 => [64406, 64407, 64408, 64409], 1722 => [64414, 64415], 1723 => [64416, 64417, 64418, 64419], 1726 => [64426, 64427, 64428, 64429], 1728 => [64420, 64421], 1729 => [64422, 64423, 64424, 64425], 1733 => [64480, 64481], 1734 => [64473, 64474], 1735 => [64471, 64472], 1736 => [64475, 64476], 1737 => [64482, 64483], 1739 => [64478, 64479], 1740 => [64508, 64509, 64510, 64511], 1744 => [64484, 64485, 64486, 64487], 1746 => [64430, 64431], 1747 => [64432, 64433]]
- Arabic shape substitutions: char code => ([isolated, final, initial, medial]).
Constants
DIACRITIC
Array of character substitutions for sequences of two diacritics symbols.
public array<int, int>
DIACRITIC =
[ 1612 =>
64606, // Shadda + Dammatan 1613 => 64607, // Shadda + Kasratan
1614 => 64608, // Shadda + Fatha 1615 => 64609, // Shadda +
Damma 1616 => 64610, ]
Putting the combining mark and character in the same glyph allows us to avoid the two marks overlapping each other in an illegible manner. second NSM char code => substitution char.
END
Array of Arabic end letters
public array<string|int, int>
END =
[ 1569, //
HAMZAH (U+621) 1570, // ALEF (U+0627) with MADDAH ABOVE (U+0653)
1571, // ALEF (U+0627) with HAMZA ABOVE (U+0654) 1572, // WAW
(U+0648) with HAMZA ABOVE (U+0654) 1573, // ALEF (U+0627) with
HAMZA BELOW (U+0655) 1575, // ALEF (U+0627) 1577, // TEH MARBUTA
(U+0629) 1583, // DAL (U+062F) 1584, // THAL (U+0630) 1585, // REH
(U+0631) 1586, // ZAIN (U+0632) 1608, // WAW (U+0648) 1688,
]
HEH
Unicode code for ARABIC LETTER HEH (U+0647)
public mixed HEH = 1607
LAA
Arabic laa letter: (char code => [isolated, final, initial, medial]).
public array<int, array<string|int,
int>> LAA = [ 1570 => [65269,
65270, 65269, 65270], // ALEF (U+0627) with MADDAH ABOVE (U+0653)
1571 => [65271, 65272, 65271, 65272], // ALEF (U+0627) with
HAMZA ABOVE (U+0654) 1573 => [65273, 65274, 65273, 65274], //
ALEF (U+0627) with HAMZA BELOW (U+0655) 1575 => [65275, 65276,
65275, 65276], ]
LAM
Unicode code for ARABIC LETTER LAM (U+0644)
public mixed LAM = 1604
LIGATURE_ALLAH_ISOLATED_FORM
Unicode code for ARABIC LIGATURE ALLAH ISOLATED FORM (U+FDF2)
public mixed LIGATURE_ALLAH_ISOLATED_FORM
= 65010
QUESTION_MARK
Unicode code for ARABIC QUESTION MARK (U+061F)
public mixed QUESTION_MARK = 1567
SHADDA
Unicode code for ARABIC SHADDA (U+0651)
public mixed SHADDA = 1617
SUBSTITUTE
Arabic shape substitutions: char code => ([isolated, final, initial, medial]).
public array<int, array<string|int,
int>> SUBSTITUTE = [1569 => [65152], 1570
=> [65153, 65154, 65153, 65154], 1571 => [65155, 65156,
65155, 65156], 1572 => [65157, 65158], 1573 => [65159, 65160,
65159, 65160], 1574 => [65161, 65162, 65163, 65164], 1575 =>
[65165, 65166, 65165, 65166], 1576 => [65167, 65168, 65169,
65170], 1577 => [65171, 65172], 1578 => [65173, 65174, 65175,
65176], 1579 => [65177, 65178, 65179, 65180], 1580 => [65181,
65182, 65183, 65184], 1581 => [65185, 65186, 65187, 65188], 1582
=> [65189, 65190, 65191, 65192], 1583 => [65193, 65194,
65193, 65194], 1584 => [65195, 65196, 65195, 65196], 1585 =>
[65197, 65198, 65197, 65198], 1586 => [65199, 65200, 65199,
65200], 1587 => [65201, 65202, 65203, 65204], 1588 => [65205,
65206, 65207, 65208], 1589 => [65209, 65210, 65211, 65212], 1590
=> [65213, 65214, 65215, 65216], 1591 => [65217, 65218,
65219, 65220], 1592 => [65221, 65222, 65223, 65224], 1593 =>
[65225, 65226, 65227, 65228], 1594 => [65229, 65230, 65231,
65232], 1601 => [65233, 65234, 65235, 65236], 1602 => [65237,
65238, 65239, 65240], 1603 => [65241, 65242, 65243, 65244], 1604
=> [65245, 65246, 65247, 65248], 1605 => [65249, 65250,
65251, 65252], 1606 => [65253, 65254, 65255, 65256], 1607 =>
[65257, 65258, 65259, 65260], 1608 => [65261, 65262, 65261,
65262], 1609 => [65263, 65264, 64488, 64489], 1610 => [65265,
65266, 65267, 65268], 1649 => [64336, 64337], 1655 =>
[64477], 1657 => [64358, 64359, 64360, 64361], 1658 =>
[64350, 64351, 64352, 64353], 1659 => [64338, 64339, 64340,
64341], 1662 => [64342, 64343, 64344, 64345], 1663 => [64354,
64355, 64356, 64357], 1664 => [64346, 64347, 64348, 64349], 1667
=> [64374, 64375, 64376, 64377], 1668 => [64370, 64371,
64372, 64373], 1670 => [64378, 64379, 64380, 64381], 1671 =>
[64382, 64383, 64384, 64385], 1672 => [64392, 64393], 1676 =>
[64388, 64389], 1677 => [64386, 64387], 1678 => [64390,
64391], 1681 => [64396, 64397], 1688 => [64394, 64395, 64394,
64395], 1700 => [64362, 64363, 64364, 64365], 1702 => [64366,
64367, 64368, 64369], 1705 => [64398, 64399, 64400, 64401], 1709
=> [64467, 64468, 64469, 64470], 1711 => [64402, 64403,
64404, 64405], 1713 => [64410, 64411, 64412, 64413], 1715 =>
[64406, 64407, 64408, 64409], 1722 => [64414, 64415], 1723 =>
[64416, 64417, 64418, 64419], 1726 => [64426, 64427, 64428,
64429], 1728 => [64420, 64421], 1729 => [64422, 64423, 64424,
64425], 1733 => [64480, 64481], 1734 => [64473, 64474], 1735
=> [64471, 64472], 1736 => [64475, 64476], 1737 => [64482,
64483], 1739 => [64478, 64479], 1740 => [64508, 64509, 64510,
64511], 1744 => [64484, 64485, 64486, 64487], 1746 => [64430,
64431], 1747 => [64432, 64433]]