aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-03-15 10:38:54 +0100
committerRobert Alessi <alessi@robertalessi.net>2016-03-15 10:38:54 +0100
commitd911669a7a7152c47e884cb7860be85e34d1e882 (patch)
tree051b3388a21001509121a131899cec93f45d09b2
parent99f1e0a3d96a29fcd850292ce31be257b004e2e5 (diff)
downloadarabluatex-d911669a7a7152c47e884cb7860be85e34d1e882.tar.gz
bugfix: final hamza was wrong
-rw-r--r--arabluatex_fullvoc.lua20
-rw-r--r--arabluatex_voc.lua20
2 files changed, 36 insertions, 4 deletions
diff --git a/arabluatex_fullvoc.lua b/arabluatex_fullvoc.lua
index 3ca9538..4673b32 100644
--- a/arabluatex_fullvoc.lua
+++ b/arabluatex_fullvoc.lua
@@ -48,7 +48,7 @@ hamzafv = {
48 {a="%'%_U", b="أU"}, 48 {a="%'%_U", b="أU"},
49 -- madda (historic writing below) 49 -- madda (historic writing below)
50 {a="'a'([^uaiUAI])", b="آ%1"}, 50 {a="'a'([^uaiUAI])", b="آ%1"},
51 {a="'a?A", b="آ"}, 51 {a="'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="آ%1"},
52 {a="(A)(')(iN?)$", b="aآء%3"}, 52 {a="(A)(')(iN?)$", b="aآء%3"},
53 {a="(A)(')(iN?)(%W)", b="aآء%3%4"}, 53 {a="(A)(')(iN?)(%W)", b="aآء%3%4"},
54 {a="(A)(')(i)", b="aآئ%3"}, -- historic madda 54 {a="(A)(')(i)", b="aآئ%3"}, -- historic madda
@@ -71,7 +71,23 @@ hamzafv = {
71 {a="(%^say)(%')(aN)", b="%1ئ%3"}, 71 {a="(%^say)(%')(aN)", b="%1ئ%3"},
72 {a="(.zi?m)(%')(aN)", b="%1ئ%3"}, 72 {a="(.zi?m)(%')(aN)", b="%1ئ%3"},
73 {a="([^uai])(')([uai]N?)$", b="%1ء%3"}, 73 {a="([^uai])(')([uai]N?)$", b="%1ء%3"},
74 {a="([^uai])(')([uai]N?)(%W)", b="%1ء%3%4"}, 74 {a="([^uai])(')([uai]N?)(%W)", b="%1ء%3%4"},
75-- u
76 {a="(u)(')([uai]?N)$", b="%1ؤ%3"},
77 {a="(u)(')([uai]N?)(%W)", b="%1ؤ%3%4"},
78-- a
79 {a="(a)(')([u]N?)$", b="%1أ%3"},
80 {a="(a)(')([u]N?)(%W)", b="%1أ%3%4"},
81 {a="(a)(')(a)$", b="%1أ%3"},
82 {a="(a)(')(a)(%W)", b="%1أ%3%4"},
83 {a="(a)(')(aN)$", b="%1أً"},
84 {a="(a)(')(aN)(%W)", b="%1أً%4"},
85 {a="(a)(')([i]N?)$", b="%1إ%3"},
86 {a="(a)(')([i]N?)(%W)", b="%1إ%3%4"},
87-- i
88 {a="(i)(')([uai]N?)$", b="%1ئ%3"},
89 {a="(i)(')([uai]N?)(%W)", b="%1ئ%3%4"},
90--
75 -- middle 91 -- middle
76 {a="(U)(')", b="%1ء"}, 92 {a="(U)(')", b="%1ء"},
77 {a="([Iy])(')", b="%1ئ"}, 93 {a="([Iy])(')", b="%1ئ"},
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua
index e38a604..9e0ba85 100644
--- a/arabluatex_voc.lua
+++ b/arabluatex_voc.lua
@@ -80,7 +80,7 @@ hamza = {
80 {a="%'%_U", b="أU"}, 80 {a="%'%_U", b="أU"},
81 -- madda (historic writing below) 81 -- madda (historic writing below)
82 {a="'a'([^uaiUAI])", b="آ%1"}, 82 {a="'a'([^uaiUAI])", b="آ%1"},
83 {a="'a?A", b="آ"}, 83 {a="'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="آ%1"},
84 {a="(A)(')(iN?)$", b="aآء%3"}, 84 {a="(A)(')(iN?)$", b="aآء%3"},
85 {a="(A)(')(iN?)(%W)", b="aآء%3%4"}, 85 {a="(A)(')(iN?)(%W)", b="aآء%3%4"},
86 {a="(A)(')(i)", b="aآئ%3"}, -- historic madda 86 {a="(A)(')(i)", b="aآئ%3"}, -- historic madda
@@ -103,7 +103,23 @@ hamza = {
103 {a="(%^say)(%')(aN)", b="%1ئ%3"}, 103 {a="(%^say)(%')(aN)", b="%1ئ%3"},
104 {a="(.zi?m)(%')(aN)", b="%1ئ%3"}, 104 {a="(.zi?m)(%')(aN)", b="%1ئ%3"},
105 {a="([^uai])(')([uai]N?)$", b="%1ء%3"}, 105 {a="([^uai])(')([uai]N?)$", b="%1ء%3"},
106 {a="([^uai])(')([uai]N?)(%W)", b="%1ء%3%4"}, 106 {a="([^uai])(')([uai]N?)(%W)", b="%1ء%3%4"},
107-- u
108 {a="(u)(')([uai]?N)$", b="%1ؤ%3"},
109 {a="(u)(')([uai]N?)(%W)", b="%1ؤ%3%4"},
110-- a
111 {a="(a)(')([u]N?)$", b="%1أ%3"},
112 {a="(a)(')([u]N?)(%W)", b="%1أ%3%4"},
113 {a="(a)(')(a)$", b="%1أ%3"},
114 {a="(a)(')(a)(%W)", b="%1أ%3%4"},
115 {a="(a)(')(aN)$", b="%1أً"},
116 {a="(a)(')(aN)(%W)", b="%1أً%4"},
117 {a="(a)(')([i]N?)$", b="%1إ%3"},
118 {a="(a)(')([i]N?)(%W)", b="%1إ%3%4"},
119-- i
120 {a="(i)(')([uai]N?)$", b="%1ئ%3"},
121 {a="(i)(')([uai]N?)(%W)", b="%1ئ%3%4"},
122--
107 -- middle 123 -- middle
108 {a="(U)(')", b="%1ء"}, 124 {a="(U)(')", b="%1ء"},
109 {a="([Iy])(')", b="%1ئ"}, 125 {a="([Iy])(')", b="%1ئ"},