aboutsummaryrefslogtreecommitdiff
path: root/arabluatex_fullvoc.lua
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-03-03 18:25:03 +0100
committerRobert Alessi <alessi@robertalessi.net>2016-03-03 18:25:03 +0100
commitbe01b8d5cdcaba6045625a5006edf09d7f619264 (patch)
tree73a33d6a247478c73023e8064b1e5b177011200a /arabluatex_fullvoc.lua
parent6a9a1c2f1ae4c29530069ba47316adfdf63f21fe (diff)
downloadarabluatex-be01b8d5cdcaba6045625a5006edf09d7f619264.tar.gz
šadda over hamza + improved madda
Diffstat (limited to 'arabluatex_fullvoc.lua')
-rw-r--r--arabluatex_fullvoc.lua12
1 files changed, 10 insertions, 2 deletions
diff --git a/arabluatex_fullvoc.lua b/arabluatex_fullvoc.lua
index a56a33f..b0991bf 100644
--- a/arabluatex_fullvoc.lua
+++ b/arabluatex_fullvoc.lua
@@ -31,10 +31,15 @@ hamzafv = {
31 {a="w\"'", b="ؤ"}, 31 {a="w\"'", b="ؤ"},
32 {a="i\"'", b="إ"}, 32 {a="i\"'", b="إ"},
33 {a="y\"'", b="ئ"}, 33 {a="y\"'", b="ئ"},
34 -- hamza takes tašdīd too
35 {a="''([Uu])", b="ؤؤ%1"},
36 {a="''([Aa])", b="أأ%1"},
37 {a="''([Ii])", b="ئئ%1"},
34 -- initial long u 38 -- initial long u
35 {a="%'%_U", b="أU"}, 39 {a="%'%_U", b="أU"},
36 -- madda (historic writing below) 40 -- madda (historic writing below)
37 {a="'A", b="آ"}, 41 {a="'a'([^uaiUAI])", b="آ%1"},
42 {a="'a?A", b="آ"},
38 {a="(A)(')(i)$", b="aآء%3"}, 43 {a="(A)(')(i)$", b="aآء%3"},
39 {a="(A)(')(i)(%W)", b="aآء%3%4"}, 44 {a="(A)(')(i)(%W)", b="aآء%3%4"},
40 {a="(A)(')(i)", b="aآئ%3"}, -- historic madda 45 {a="(A)(')(i)", b="aآئ%3"}, -- historic madda
@@ -55,7 +60,7 @@ hamzafv = {
55-- {a="([UI])(')([uai]N?)(%W)", b="%1ء%3%4"}, 60-- {a="([UI])(')([uai]N?)(%W)", b="%1ء%3%4"},
56 -- ^say'aN and .zim'aN are special orthographies 61 -- ^say'aN and .zim'aN are special orthographies
57 {a="(%^say)(%')(aN)", b="%1ئ%3"}, 62 {a="(%^say)(%')(aN)", b="%1ئ%3"},
58 {a="(.zim)(%')(aN)", b="%1ئ%3"}, 63 {a="(.zi?m)(%')(aN)", b="%1ئ%3"},
59 {a="([^uai])(')([uai]N?)$", b="%1ء%3"}, 64 {a="([^uai])(')([uai]N?)$", b="%1ء%3"},
60 {a="([^uai])(')([uai]N?)(%W)", b="%1ء%3%4"}, 65 {a="([^uai])(')([uai]N?)(%W)", b="%1ء%3%4"},
61 -- middle 66 -- middle
@@ -124,6 +129,9 @@ digraphsfv = {
124 {a="^([uai])", b="ٱ"}, -- initial alif without hamza 129 {a="^([uai])", b="ٱ"}, -- initial alif without hamza
125 {a="(%s)([uai])", b="%1ٱ"}, -- initial alif without hamza 130 {a="(%s)([uai])", b="%1ٱ"}, -- initial alif without hamza
126 {a="%-%-", b="ـ"}, 131 {a="%-%-", b="ـ"},
132 {a="ؤؤ", b="ؤّ"},
133 {a="أأ", b="أّ"},
134 {a="ئئ", b="ئّ"},
127 {a="bb", b="بّ"}, 135 {a="bb", b="بّ"},
128 {a="BB", b="ـّ"}, 136 {a="BB", b="ـّ"},
129 {a="tt", b="تّ"}, 137 {a="tt", b="تّ"},