diff options
-rw-r--r-- | arabluatex_fullvoc.lua | 6 | ||||
-rw-r--r-- | arabluatex_trans.lua | 19 | ||||
-rw-r--r-- | arabluatex_voc.lua | 58 |
3 files changed, 51 insertions, 32 deletions
diff --git a/arabluatex_fullvoc.lua b/arabluatex_fullvoc.lua index f66ed87..8b94c1e 100644 --- a/arabluatex_fullvoc.lua +++ b/arabluatex_fullvoc.lua | |||
@@ -44,8 +44,12 @@ hamzafv = { | |||
44 | {a="''([Uu])", b="ؤؤ%1"}, | 44 | {a="''([Uu])", b="ؤؤ%1"}, |
45 | {a="''([Aa])", b="أأ%1"}, | 45 | {a="''([Aa])", b="أأ%1"}, |
46 | {a="''([Ii])", b="ئئ%1"}, | 46 | {a="''([Ii])", b="ئئ%1"}, |
47 | -- initial long u | 47 | -- initial long u and i (for a, see below) |
48 | {a="%'%_U", b="أU"}, | 48 | {a="%'%_U", b="أU"}, |
49 | {a="%'%_I", b="إI"}, | ||
50 | -- taḫfīfu 'l-hamza | ||
51 | {a="'u'([^uaiUAI])", b="أU%1"}, | ||
52 | {a="'i'([^uaiUAI])", b="إI%1"}, | ||
49 | -- madda (historic writing below) | 53 | -- madda (historic writing below) |
50 | {a="'a'([^uaiUAI])", b="آ%1"}, | 54 | {a="'a'([^uaiUAI])", b="آ%1"}, |
51 | {a="'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="آ%1"}, | 55 | {a="'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="آ%1"}, |
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua index b61c6db..e8f8825 100644 --- a/arabluatex_trans.lua +++ b/arabluatex_trans.lua | |||
@@ -81,8 +81,12 @@ hamzatrdmg = { | |||
81 | {a="''([Uu])", b="ʾʾ%1"}, | 81 | {a="''([Uu])", b="ʾʾ%1"}, |
82 | {a="''([Aa])", b="ʾʾ%1"}, | 82 | {a="''([Aa])", b="ʾʾ%1"}, |
83 | {a="''([Ii])", b="ʾʾ%1"}, | 83 | {a="''([Ii])", b="ʾʾ%1"}, |
84 | -- initial long u | 84 | -- initial long u and i (for a, see below) |
85 | {a="%'%_U", b="ʾU"}, | 85 | {a="%'%_U", b="ʾU"}, |
86 | {a="%'%_I", b="ʾI"}, | ||
87 | -- taḫfīfu 'l-hamza | ||
88 | {a="'u'([^uaiUAI])", b="ʾU%1"}, | ||
89 | {a="'i'([^uaiUAI])", b="ʾI%1"}, | ||
86 | -- madda (historic writing below) | 90 | -- madda (historic writing below) |
87 | {a="'a'([^uaiUAI])", b="ʾA%1"}, | 91 | {a="'a'([^uaiUAI])", b="ʾA%1"}, |
88 | {a="'a?A", b="ʾA"}, | 92 | {a="'a?A", b="ʾA"}, |
@@ -294,12 +298,19 @@ hamzatrloc = { | |||
294 | {a="''([Uu])", b="ʾʾ%1"}, | 298 | {a="''([Uu])", b="ʾʾ%1"}, |
295 | {a="''([Aa])", b="ʾʾ%1"}, | 299 | {a="''([Aa])", b="ʾʾ%1"}, |
296 | {a="''([Ii])", b="ʾʾ%1"}, | 300 | {a="''([Ii])", b="ʾʾ%1"}, |
297 | -- initial long u | 301 | -- initial long u and i (for a, see below) |
298 | {a="%'%_U", b="U"}, | 302 | {a="%'%_U", b="U"}, |
303 | {a="%'%_I", b="I"}, | ||
304 | -- taḫfīfu 'l-hamza | ||
305 | {a="^'u'([^uaiUAI])", b="U%1"}, | ||
306 | {a="(%W)'u'([^uaiUAI])", b="%1U%2"}, | ||
307 | {a="'u'([^uaiUAI])", b="ʾU"}, | ||
308 | {a="^'i'([^uaiUAI])", b="I%1"}, | ||
309 | {a="(%W)'i'([^uaiUAI])", b="%1I%2"}, | ||
310 | {a="'i'([^uaiUAI])", b="ʾI"}, | ||
299 | -- madda (historic writing below) | 311 | -- madda (historic writing below) |
300 | {a="^(')(A)", b="%2"}, | 312 | {a="^(')(A)", b="%2"}, |
301 | {a="(%W)(')(A)", b="%1%3"}, | 313 | {a="(%W)(')(A)", b="%1%3"}, |
302 | |||
303 | {a="^'a'([^uaiUAI])", b="A%1"}, | 314 | {a="^'a'([^uaiUAI])", b="A%1"}, |
304 | {a="(%W)'a'([^uaiUAI])", b="%1A%2"}, | 315 | {a="(%W)'a'([^uaiUAI])", b="%1A%2"}, |
305 | {a="'a'([^uaiUAI])", b="A%1"}, | 316 | {a="'a'([^uaiUAI])", b="A%1"}, |
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua index 9724901..0544a63 100644 --- a/arabluatex_voc.lua +++ b/arabluatex_voc.lua | |||
@@ -36,32 +36,32 @@ numbers = { | |||
36 | } | 36 | } |
37 | 37 | ||
38 | raw = { | 38 | raw = { |
39 | {a="A", b="َا"}, | 39 | {a="A", b="َا"}, |
40 | {a="U", b="ُو"}, | 40 | {a="U", b="ُو"}, |
41 | {a="I", b="ِي"}, | 41 | {a="I", b="ِي"}, |
42 | {a="b", b="ب"}, | 42 | {a="b", b="ب"}, |
43 | {a="t", b="ت"}, | 43 | {a="t", b="ت"}, |
44 | {a="j", b="ج"}, | 44 | {a="j", b="ج"}, |
45 | {a="x", b="خ"}, | 45 | {a="x", b="خ"}, |
46 | {a="d", b="د"}, | 46 | {a="d", b="د"}, |
47 | {a="r", b="ر"}, | 47 | {a="r", b="ر"}, |
48 | {a="z", b="ز"}, | 48 | {a="z", b="ز"}, |
49 | {a="s", b="س"}, | 49 | {a="s", b="س"}, |
50 | {a="f", b="ف"}, | 50 | {a="f", b="ف"}, |
51 | {a="`", b="ع"}, | 51 | {a="`", b="ع"}, |
52 | {a="f", b="ف"}, | 52 | {a="f", b="ف"}, |
53 | {a="q", b="ق"}, | 53 | {a="q", b="ق"}, |
54 | {a="k", b="ك"}, | 54 | {a="k", b="ك"}, |
55 | {a="l", b="ل"}, | 55 | {a="l", b="ل"}, |
56 | {a="m", b="م"}, | 56 | {a="m", b="م"}, |
57 | {a="n", b="ن"}, | 57 | {a="n", b="ن"}, |
58 | {a="h", b="ه"}, | 58 | {a="h", b="ه"}, |
59 | {a="w", b="و"}, | 59 | {a="w", b="و"}, |
60 | {a="y", b="ي"}, | 60 | {a="y", b="ي"}, |
61 | {a="T", b="ة"}, | 61 | {a="T", b="ة"}, |
62 | {a="u", b="ُ"}, | 62 | {a="u", b="ُ"}, |
63 | {a="a", b="َ"}, | 63 | {a="a", b="َ"}, |
64 | {a="i", b="ِ"} | 64 | {a="i", b="ِ"} |
65 | } | 65 | } |
66 | 66 | ||
67 | hamza = { | 67 | hamza = { |
@@ -76,8 +76,12 @@ hamza = { | |||
76 | {a="''([Uu])", b="ؤؤ%1"}, | 76 | {a="''([Uu])", b="ؤؤ%1"}, |
77 | {a="''([Aa])", b="أأ%1"}, | 77 | {a="''([Aa])", b="أأ%1"}, |
78 | {a="''([Ii])", b="ئئ%1"}, | 78 | {a="''([Ii])", b="ئئ%1"}, |
79 | -- initial long u | 79 | -- initial long u and i (for a, see below) |
80 | {a="%'%_U", b="أU"}, | 80 | {a="%'%_U", b="أU"}, |
81 | {a="%'%_I", b="إI"}, | ||
82 | -- taḫfīfu 'l-hamza | ||
83 | {a="'u'([^uaiUAI])", b="أU%1"}, | ||
84 | {a="'i'([^uaiUAI])", b="إI%1"}, | ||
81 | -- madda (historic writing below) | 85 | -- madda (historic writing below) |
82 | {a="'a'([^uaiUAI])", b="آ%1"}, | 86 | {a="'a'([^uaiUAI])", b="آ%1"}, |
83 | {a="'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="آ%1"}, | 87 | {a="'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="آ%1"}, |