diff options
author | Robert Alessi <alessi@robertalessi.net> | 2017-08-01 15:39:54 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2017-08-01 15:39:54 +0200 |
commit | 514d87a7e6892b614467bb0ffae2aaca54528e34 (patch) | |
tree | a8ccab3cfa0b4f72b472a8e4f9274f675bd7298a | |
parent | abe358946220e4e738cc585c525d30b6c8a812fd (diff) | |
download | arabluatex-514d87a7e6892b614467bb0ffae2aaca54528e34.tar.gz |
more work on the rules of taḫfīf al-hamzah
-rw-r--r-- | arabluatex_fullvoc.lua | 8 | ||||
-rw-r--r-- | arabluatex_voc.lua | 12 |
2 files changed, 18 insertions, 2 deletions
diff --git a/arabluatex_fullvoc.lua b/arabluatex_fullvoc.lua index e55f16d..1ad4bb8 100644 --- a/arabluatex_fullvoc.lua +++ b/arabluatex_fullvoc.lua | |||
@@ -59,6 +59,10 @@ hamzafv = { | |||
59 | -- taḫfīfu 'l-hamza | 59 | -- taḫfīfu 'l-hamza |
60 | {a="'u'([^uaiUAI])", b="أU%1"}, | 60 | {a="'u'([^uaiUAI])", b="أU%1"}, |
61 | {a="'i'([^uaiUAI])", b="إI%1"}, | 61 | {a="'i'([^uaiUAI])", b="إI%1"}, |
62 | {a="^u'([^uaiUAI])", b="اU%1"}, | ||
63 | {a="([^uaiUAIYN][%s%(%[%<])u'([^uaiUAI])", b="%1اU%2"}, | ||
64 | {a="^i'([^uaiUAI])", b="اI%1"}, | ||
65 | {a="([^uaiUAIYN][%s%(%[%<])i'([^uaiUAI])", b="%1اI%2"}, | ||
62 | -- madda (historic writing below) | 66 | -- madda (historic writing below) |
63 | {a="'a'([^uaiUAI])", b="آ%1"}, | 67 | {a="'a'([^uaiUAI])", b="آ%1"}, |
64 | {a="([^uiUI])\'a?A([%_%^%.]?[%`%'btjghxdrzsfqklmnywAY])", b="%1آ%2"}, | 68 | {a="([^uiUI])\'a?A([%_%^%.]?[%`%'btjghxdrzsfqklmnywAY])", b="%1آ%2"}, |
@@ -180,6 +184,10 @@ hamzafveasy = { -- differences marked below with 'easy' | |||
180 | -- taḫfīfu 'l-hamza | 184 | -- taḫfīfu 'l-hamza |
181 | {a="'u'([^uaiUAI])", b="أU%1"}, | 185 | {a="'u'([^uaiUAI])", b="أU%1"}, |
182 | {a="'i'([^uaiUAI])", b="إI%1"}, | 186 | {a="'i'([^uaiUAI])", b="إI%1"}, |
187 | {a="^u'([^uaiUAI])", b="اU%1"}, | ||
188 | {a="([^uaiUAIYN][%s%(%[%<])u'([^uaiUAI])", b="%1اU%2"}, | ||
189 | {a="^i'([^uaiUAI])", b="اI%1"}, | ||
190 | {a="([^uaiUAIYN][%s%(%[%<])i'([^uaiUAI])", b="%1اI%2"}, | ||
183 | -- madda (historic writing below) | 191 | -- madda (historic writing below) |
184 | {a="'a'([^uaiUAI])", b="آ%1"}, | 192 | {a="'a'([^uaiUAI])", b="آ%1"}, |
185 | {a="([^uiUI])\'a?A([%_%^%.]?[%`%'btjghxdrzsfqklmnywAY])", b="%1آ%2"}, | 193 | {a="([^uiUI])\'a?A([%_%^%.]?[%`%'btjghxdrzsfqklmnywAY])", b="%1آ%2"}, |
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua index 3639480..135a757 100644 --- a/arabluatex_voc.lua +++ b/arabluatex_voc.lua | |||
@@ -194,7 +194,11 @@ hamza = { | |||
194 | {a="%'%_I", b="إI"}, | 194 | {a="%'%_I", b="إI"}, |
195 | -- taḫfīfu 'l-hamza | 195 | -- taḫfīfu 'l-hamza |
196 | {a="'u'([^uaiUAI])", b="أU%1"}, | 196 | {a="'u'([^uaiUAI])", b="أU%1"}, |
197 | {a="'i'([^uaiUAI])", b="إI%1"}, | 197 | {a="'i'([^uaiUAI])", b="إI%1"}, |
198 | {a="^u'([^uaiUAI])", b="اU%1"}, | ||
199 | {a="([^uaiUAIYN][%s%(%[%<])u'([^uaiUAI])", b="%1اU%2"}, | ||
200 | {a="^i'([^uaiUAI])", b="اI%1"}, | ||
201 | {a="([^uaiUAIYN][%s%(%[%<])i'([^uaiUAI])", b="%1اI%2"}, | ||
198 | -- madda (historic writing below) | 202 | -- madda (historic writing below) |
199 | {a="'a'([^uaiUAI])", b="آ%1"}, | 203 | {a="'a'([^uaiUAI])", b="آ%1"}, |
200 | {a="([^uiUI])\'a?A([%_%^%.]?[%`%'btjghxdrzsfqklmnywAY])", b="%1آ%2"}, | 204 | {a="([^uiUI])\'a?A([%_%^%.]?[%`%'btjghxdrzsfqklmnywAY])", b="%1آ%2"}, |
@@ -306,7 +310,11 @@ hamzaeasy = { -- differences marked below with 'easy' | |||
306 | {a="%'%_I", b="إI"}, | 310 | {a="%'%_I", b="إI"}, |
307 | -- taḫfīfu 'l-hamza | 311 | -- taḫfīfu 'l-hamza |
308 | {a="'u'([^uaiUAI])", b="أU%1"}, | 312 | {a="'u'([^uaiUAI])", b="أU%1"}, |
309 | {a="'i'([^uaiUAI])", b="إI%1"}, | 313 | {a="'i'([^uaiUAI])", b="إI%1"}, |
314 | {a="^u'([^uaiUAI])", b="اU%1"}, | ||
315 | {a="([^uaiUAIYN][%s%(%[%<])u'([^uaiUAI])", b="%1اU%2"}, | ||
316 | {a="^i'([^uaiUAI])", b="اI%1"}, | ||
317 | {a="([^uaiUAIYN][%s%(%[%<])i'([^uaiUAI])", b="%1اI%2"}, | ||
310 | -- madda (historic writing below) | 318 | -- madda (historic writing below) |
311 | {a="'a'([^uaiUAI])", b="آ%1"}, | 319 | {a="'a'([^uaiUAI])", b="آ%1"}, |
312 | {a="([^uiUI])\'a?A([%_%^%.]?[%`%'btjghxdrzsfqklmnywAY])", b="%1آ%2"}, | 320 | {a="([^uiUI])\'a?A([%_%^%.]?[%`%'btjghxdrzsfqklmnywAY])", b="%1آ%2"}, |