diff options
-rw-r--r-- | arabluatex_fullvoc.lua | 11 | ||||
-rw-r--r-- | arabluatex_voc.lua | 11 |
2 files changed, 16 insertions, 6 deletions
diff --git a/arabluatex_fullvoc.lua b/arabluatex_fullvoc.lua index 9a6f35a..e05050f 100644 --- a/arabluatex_fullvoc.lua +++ b/arabluatex_fullvoc.lua | |||
@@ -70,20 +70,25 @@ hamzafv = { | |||
70 | {a="%'%_U", b="أU"}, | 70 | {a="%'%_U", b="أU"}, |
71 | -- madda (historic writing below) | 71 | -- madda (historic writing below) |
72 | {a="'A", b="آ"}, | 72 | {a="'A", b="آ"}, |
73 | {a="(A)(')(i)$", b="aآء%3"}, | ||
74 | {a="(A)(')(i)(%W)", b="aآء%3%4"}, | ||
75 | {a="(A)(')(i)", b="aآئ%3"}, -- historic madda | ||
76 | {a="(A)(')", b="aآء"}, -- historic madda | ||
73 | -- initial (needs both ^ and %W patterns) | 77 | -- initial (needs both ^ and %W patterns) |
74 | {a="^(')([ua])", b="أ%2"}, | 78 | {a="^(')([ua])", b="أ%2"}, |
75 | {a="^(')(i)", b="إ%2"}, | 79 | {a="^(')(i)", b="إ%2"}, |
76 | {a="(%W)(')([ua])", b="%1أ%3"}, | 80 | {a="(%W)(')([ua])", b="%1أ%3"}, |
77 | {a="(%W)(')(i)", b="%1إ%3"}, | 81 | {a="(%W)(')(i)", b="%1إ%3"}, |
78 | -- final | 82 | -- final |
83 | {a="([Iy])(')(aN)$", b="%1ئ%3"}, | ||
84 | {a="([Iy])(')(aN)(%W)", b="%1ئ%3%4"}, | ||
79 | {a="([^uai])(')([uai]N?)$", b="%1ء%3"}, | 85 | {a="([^uai])(')([uai]N?)$", b="%1ء%3"}, |
80 | {a="([^uai])(')([uai]N?)(%W)", b="%1ء%3%4"}, | 86 | {a="([^uai])(')([uai]N?)(%W)", b="%1ء%3%4"}, |
81 | {a="([UI])(')([uai])$", b="%1ء%3"}, | 87 | {a="([UI])(')([uai])$", b="%1ء%3"}, |
82 | {a="([UI])(')([uai])(%W)", b="%1ء%3%4"}, | 88 | {a="([UI])(')([uai])(%W)", b="%1ء%3%4"}, |
83 | -- middle | 89 | -- middle |
84 | {a="(A)(')(i)", b="aآئ%3"}, -- historic madda | 90 | {a="(U)(')", b="%1ء"}, |
85 | {a="(A)(')", b="aآء"}, -- historic madda | 91 | {a="([Iy])(')", b="%1ئ"}, |
86 | {a="([UI])(')", b="%1ء"}, | ||
87 | {a="([^uai])(')([uU])", b="%1ؤ%3"}, | 92 | {a="([^uai])(')([uU])", b="%1ؤ%3"}, |
88 | {a="([^uai])(')([aA])", b="%1أ%3"}, | 93 | {a="([^uai])(')([aA])", b="%1أ%3"}, |
89 | {a="([^uai])(')([iI])", b="%1ئ%3"}, | 94 | {a="([^uai])(')([iI])", b="%1ئ%3"}, |
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua index 5d35a82..00cdd1e 100644 --- a/arabluatex_voc.lua +++ b/arabluatex_voc.lua | |||
@@ -69,20 +69,25 @@ hamza = { | |||
69 | {a="%'%_U", b="أU"}, | 69 | {a="%'%_U", b="أU"}, |
70 | -- madda (historic writing below) | 70 | -- madda (historic writing below) |
71 | {a="'A", b="آ"}, | 71 | {a="'A", b="آ"}, |
72 | {a="(A)(')(i)$", b="aآء%3"}, | ||
73 | {a="(A)(')(i)(%W)", b="aآء%3%4"}, | ||
74 | {a="(A)(')(i)", b="aآئ%3"}, -- historic madda | ||
75 | {a="(A)(')", b="aآء"}, -- historic madda | ||
72 | -- initial (needs both ^ and %W patterns) | 76 | -- initial (needs both ^ and %W patterns) |
73 | {a="^(')([ua])", b="أ%2"}, | 77 | {a="^(')([ua])", b="أ%2"}, |
74 | {a="^(')(i)", b="إ%2"}, | 78 | {a="^(')(i)", b="إ%2"}, |
75 | {a="(%W)(')([ua])", b="%1أ%3"}, | 79 | {a="(%W)(')([ua])", b="%1أ%3"}, |
76 | {a="(%W)(')(i)", b="%1إ%3"}, | 80 | {a="(%W)(')(i)", b="%1إ%3"}, |
77 | -- final | 81 | -- final |
82 | {a="([Iy])(')(aN)$", b="%1ئ%3"}, | ||
83 | {a="([Iy])(')(aN)(%W)", b="%1ئ%3%4"}, | ||
78 | {a="([^uai])(')([uai]N?)$", b="%1ء%3"}, | 84 | {a="([^uai])(')([uai]N?)$", b="%1ء%3"}, |
79 | {a="([^uai])(')([uai]N?)(%W)", b="%1ء%3%4"}, | 85 | {a="([^uai])(')([uai]N?)(%W)", b="%1ء%3%4"}, |
80 | {a="([UI])(')([uai])$", b="%1ء%3"}, | 86 | {a="([UI])(')([uai])$", b="%1ء%3"}, |
81 | {a="([UI])(')([uai])(%W)", b="%1ء%3%4"}, | 87 | {a="([UI])(')([uai])(%W)", b="%1ء%3%4"}, |
82 | -- middle | 88 | -- middle |
83 | {a="(A)(')(i)", b="aآئ%3"}, -- historic madda | 89 | {a="(U)(')", b="%1ء"}, |
84 | {a="(A)(')", b="aآء"}, -- historic madda | 90 | {a="([Iy])(')", b="%1ئ"}, |
85 | {a="([UI])(')", b="%1ء"}, | ||
86 | {a="([^uai])(')([uU])", b="%1ؤ%3"}, | 91 | {a="([^uai])(')([uU])", b="%1ؤ%3"}, |
87 | {a="([^uai])(')([aA])", b="%1أ%3"}, | 92 | {a="([^uai])(')([aA])", b="%1أ%3"}, |
88 | {a="([^uai])(')([iI])", b="%1ئ%3"}, | 93 | {a="([^uai])(')([iI])", b="%1ئ%3"}, |