diff options
Diffstat (limited to 'arabluatex_fullvoc.lua')
-rw-r--r-- | arabluatex_fullvoc.lua | 129 |
1 files changed, 65 insertions, 64 deletions
diff --git a/arabluatex_fullvoc.lua b/arabluatex_fullvoc.lua index f9d4e60..e4a9495 100644 --- a/arabluatex_fullvoc.lua +++ b/arabluatex_fullvoc.lua | |||
@@ -53,8 +53,9 @@ hamzafv = { | |||
53 | {a="'i'([^uaiUAI])", b="إI%1"}, | 53 | {a="'i'([^uaiUAI])", b="إI%1"}, |
54 | -- madda (historic writing below) | 54 | -- madda (historic writing below) |
55 | {a="'a'([^uaiUAI])", b="آ%1"}, | 55 | {a="'a'([^uaiUAI])", b="آ%1"}, |
56 | --tmp {a="'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="آ%1"}, | 56 | {a="([^uiUI])\'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="%1آ%2"}, |
57 | {a="([^UIui])'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="%1آ%2"}, | 57 | {a="^\'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="آ%1"}, |
58 | {a="(%W)\'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="%1آ%2"}, | ||
58 | {a="(A)(')(uN?)$", b="aآء%3"}, | 59 | {a="(A)(')(uN?)$", b="aآء%3"}, |
59 | {a="(A)(')(uN?)(%W)", b="aآء%3%4"}, | 60 | {a="(A)(')(uN?)(%W)", b="aآء%3%4"}, |
60 | {a="(A)(')(iN?)$", b="aآء%3"}, | 61 | {a="(A)(')(iN?)$", b="aآء%3"}, |
@@ -148,8 +149,9 @@ hamzafveasy = { -- differences marked below with 'easy' | |||
148 | {a="'i'([^uaiUAI])", b="إI%1"}, | 149 | {a="'i'([^uaiUAI])", b="إI%1"}, |
149 | -- madda (historic writing below) | 150 | -- madda (historic writing below) |
150 | {a="'a'([^uaiUAI])", b="آ%1"}, | 151 | {a="'a'([^uaiUAI])", b="آ%1"}, |
151 | --tmp {a="'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="آ%1"}, | 152 | {a="([^uiUI])\'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="%1آ%2"}, |
152 | {a="([^UIui])'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="%1آ%2"}, | 153 | {a="^\'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="آ%1"}, |
154 | {a="(%W)\'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="%1آ%2"}, | ||
153 | --easy (begin) | 155 | --easy (begin) |
154 | {a="(A)(')(uN?)$", b="aاء%3"}, | 156 | {a="(A)(')(uN?)$", b="aاء%3"}, |
155 | {a="(A)(')(uN?)(%W)", b="aاء%3%4"}, | 157 | {a="(A)(')(uN?)(%W)", b="aاء%3%4"}, |
@@ -215,73 +217,73 @@ hamzafveasy = { -- differences marked below with 'easy' | |||
215 | } | 217 | } |
216 | 218 | ||
217 | tanwinfv = { | 219 | tanwinfv = { |
218 | {a="uNU", b="ٌو"}, | 220 | {a="%-?uNU", b="ٌو"}, |
219 | {a="aNU", b="ًوا"}, | 221 | {a="%-?aNU", b="ًوا"}, |
220 | {a="iNU", b="ٍو"}, | 222 | {a="%-?iNU", b="ٍو"}, |
221 | {a="([uai]N)(%s)([uai])", b="%1%2ٱ"}, | 223 | {a="%-?([uai]N)(%s)([uai])", b="%1%2ٱ"}, |
222 | {a="(aN[%_]?[AY])(%s)([uai])", b="%1%2ٱ"}, | 224 | {a="%-?(aN[%_]?[AY])(%s)([uai])", b="%1%2ٱ"}, |
223 | -- assimilations (begin) | 225 | -- assimilations (begin) |
224 | {a="(uN)(%s)([rlmnwy])", b="ٌ%2%3%3"}, | 226 | {a="%-?(uN)(%s)([rlmnwy])", b="ٌ%2%3%3"}, |
225 | {a="(aN)(_A)(%s)([rlmnwy])", b="ًى%3%4%4"}, | 227 | {a="%-?(aN)(_A)(%s)([rlmnwy])", b="ًى%3%4%4"}, |
226 | {a="(aN)(Y)(%s)([rlmnwy])", b="ًى%3%4%4"}, | 228 | {a="%-?(aN)(Y)(%s)([rlmnwy])", b="ًى%3%4%4"}, |
227 | {a="(T)(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"}, | 229 | {a="(T)%-?(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"}, |
228 | {a="(ء)(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"}, | 230 | {a="(ء)%-?(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"}, |
229 | {a="([^TA])(aN)(%s)([rlmnwy])", b="%1ًا%3%4%4"}, | 231 | {a="([^TA])%-?(aN)(%s)([rlmnwy])", b="%1ًا%3%4%4"}, |
230 | {a="(iN)(%s)([rlmnwy])", b="ٍ%2%3%3"}, | 232 | {a="%-?(iNI?)(%s)([rlmnwy])", b="ٍ%2%3%3"}, |
231 | -- assimilations (end) | 233 | -- assimilations (end) |
232 | -- quoted tanwīn (begin) | 234 | -- quoted tanwīn (begin) |
233 | {a="(\"uN)", b=""}, | 235 | {a="%-?(\"uN)", b=""}, |
234 | {a="(B)(\"aN)", b="%1"}, | 236 | {a="(B)%-?(\"aN)", b="%1"}, |
235 | {a="(\"aN)(_A)", b="ى"}, | 237 | {a="%-?(\"aN)(_A)", b="ى"}, |
236 | {a="(\"aN)(Y)", b="ى"}, | 238 | {a="%-?(\"aN)(Y)", b="ى"}, |
237 | {a="(T)(\"aN)", b="%1"}, | 239 | {a="(T)%-?(\"aN)", b="%1"}, |
238 | {a="(ء)(\"aN)", b="%1"}, | 240 | {a="(ء)%-?(\"aN)", b="%1"}, |
239 | {a="([^TA])(\"aN)", b="%1ا"}, | 241 | {a="([^TA])%-?(\"aN)", b="%1ا"}, |
240 | {a="(\"iN)", b=""}, | 242 | {a="%-?(\"iNI?)", b=""}, |
241 | -- quoted tanwīn (end) | 243 | -- quoted tanwīn (end) |
242 | {a="(uN)", b="ٌ"}, | 244 | {a="%-?(uN)", b="ٌ"}, |
243 | {a="(B)(aN)", b="%1ً"}, | 245 | {a="(B)%-?(aN)", b="%1ً"}, |
244 | {a="(aN)(_A)", b="ًى"}, | 246 | {a="%-?(aN)(_A)", b="ًى"}, |
245 | {a="(aN)(Y)", b="ًى"}, | 247 | {a="%-?(aN)(Y)", b="ًى"}, |
246 | {a="(T)(aN)", b="%1ً"}, | 248 | {a="(T)%-?(aN)", b="%1ً"}, |
247 | {a="(ء)(aN)", b="%1ً"}, | 249 | {a="(ء)%-?(aN)", b="%1ً"}, |
248 | {a="([^TA])(aN)", b="%1ًا"}, | 250 | {a="([^TA])%-?(aN)", b="%1ًا"}, |
249 | {a="(iNI?)", b="ٍ"} | 251 | {a="%-?(iNI?)", b="ٍ"} |
250 | } | 252 | } |
251 | 253 | ||
252 | tanwinfveasy = { -- no assimilations (see below) | 254 | tanwinfveasy = { -- no assimilations (see below) |
253 | {a="uNU", b="ٌو"}, | 255 | {a="%-?uNU", b="ٌو"}, |
254 | {a="aNU", b="ًوا"}, | 256 | {a="%-?aNU", b="ًوا"}, |
255 | {a="iNU", b="ٍو"}, | 257 | {a="%-?iNU", b="ٍو"}, |
256 | {a="([uai]N)(%s)([uai])", b="%1%2ٱ"}, | 258 | {a="%-?([uai]N)(%s)([uai])", b="%1%2ٱ"}, |
257 | {a="(aN[%_]?[AY])(%s)([uai])", b="%1%2ٱ"}, | 259 | {a="%-?(aN[%_]?[AY])(%s)([uai])", b="%1%2ٱ"}, |
258 | -- assimilations (begin) | 260 | -- assimilations (begin) |
259 | --easy {a="(uN)(%s)([rlmnwy])", b="ٌ%2%3%3"}, | 261 | --easy {a="%-?(uN)(%s)([rlmnwy])", b="ٌ%2%3%3"}, |
260 | --easy {a="(aN)(_A)(%s)([rlmnwy])", b="ًى%3%4%4"}, | 262 | --easy {a="%-?(aN)(_A)(%s)([rlmnwy])", b="ًى%3%4%4"}, |
261 | --easy {a="(aN)(Y)(%s)([rlmnwy])", b="ًى%3%4%4"}, | 263 | --easy {a="%-?(aN)(Y)(%s)([rlmnwy])", b="ًى%3%4%4"}, |
262 | --easy {a="(T)(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"}, | 264 | --easy {a="(T)%-?(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"}, |
263 | --easy {a="(ء)(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"}, | 265 | --easy {a="(ء)%-?(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"}, |
264 | --easy {a="([^TA])(aN)(%s)([rlmnwy])", b="%1ًا%3%4%4"}, | 266 | --easy {a="([^TA])%-?(aN)(%s)([rlmnwy])", b="%1ًا%3%4%4"}, |
265 | --easy {a="(iN)(%s)([rlmnwy])", b="ٍ%2%3%3"}, | 267 | --easy {a="%-?(iNI?)(%s)([rlmnwy])", b="ٍ%2%3%3"}, |
266 | -- assimilations (end) | 268 | -- assimilations (end) |
267 | -- quoted tanwīn (begin) | 269 | -- quoted tanwīn (begin) |
268 | {a="(\"uN)", b=""}, | 270 | {a="%-?(\"uN)", b=""}, |
269 | {a="(B)(\"aN)", b="%1"}, | 271 | {a="(B)%-?(\"aN)", b="%1"}, |
270 | {a="(\"aN)(_A)", b="ى"}, | 272 | {a="%-?(\"aN)(_A)", b="ى"}, |
271 | {a="(\"aN)(Y)", b="ى"}, | 273 | {a="%-?(\"aN)(Y)", b="ى"}, |
272 | {a="(T)(\"aN)", b="%1"}, | 274 | {a="(T)%-?(\"aN)", b="%1"}, |
273 | {a="(ء)(\"aN)", b="%1"}, | 275 | {a="(ء)%-?(\"aN)", b="%1"}, |
274 | {a="([^TA])(\"aN)", b="%1ا"}, | 276 | {a="([^TA])%-?(\"aN)", b="%1ا"}, |
275 | {a="(\"iN)", b=""}, | 277 | {a="%-?(\"iNI?)", b=""}, |
276 | -- quoted tanwīn (end) | 278 | -- quoted tanwīn (end) |
277 | {a="(uN)", b="ٌ"}, | 279 | {a="%-?(uN)", b="ٌ"}, |
278 | {a="(B)(aN)", b="%1ً"}, | 280 | {a="(B)%-?(aN)", b="%1ً"}, |
279 | {a="(aN)(_A)", b="ًى"}, | 281 | {a="%-?(aN)(_A)", b="ًى"}, |
280 | {a="(aN)(Y)", b="ًى"}, | 282 | {a="%-?(aN)(Y)", b="ًى"}, |
281 | {a="(T)(aN)", b="%1ً"}, | 283 | {a="(T)%-?(aN)", b="%1ً"}, |
282 | {a="(ء)(aN)", b="%1ً"}, | 284 | {a="(ء)%-?(aN)", b="%1ً"}, |
283 | {a="([^TA])(aN)", b="%1ًا"}, | 285 | {a="([^TA])%-?(aN)", b="%1ًا"}, |
284 | {a="(iNI?)", b="ٍ"} | 286 | {a="%-?(iNI?)", b="ٍ"} |
285 | } | 287 | } |
286 | 288 | ||
287 | trigraphsfv = { -- trigraphs or more | 289 | trigraphsfv = { -- trigraphs or more |
@@ -457,10 +459,10 @@ digraphsfv = { | |||
457 | {a="yy", b="يّ"}, | 459 | {a="yy", b="يّ"}, |
458 | -- sukūn begin | 460 | -- sukūn begin |
459 | --tmp: next line is added | 461 | --tmp: next line is added |
460 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])%-(%_?[uaiUAIY])", b="%1%2"}, | 462 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])%-([uaiUAI])", b="%1%2"}, |
461 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])$", b="%1ْ"}, | 463 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])$", b="%1ْ"}, |
462 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])([%s])", b="%1ْ%2"}, | 464 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])([%s])", b="%1ْ%2"}, |
463 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])%-(%_?[^uaiUAIًٌٍ])", b="%1ْ%2"}, | 465 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])([%_]?[^%_uaiUAIYًٌٍ])", b="%1ْ%2"}, |
464 | -- take out sukūn in cases of assimilation | 466 | -- take out sukūn in cases of assimilation |
465 | {a="(n)(ْ)(%s)([روي])", b="%1%3%4"}, | 467 | {a="(n)(ْ)(%s)([روي])", b="%1%3%4"}, |
466 | {a="(n)(ْ)(%s)([ل])", b="%1%3%4"}, | 468 | {a="(n)(ْ)(%s)([ل])", b="%1%3%4"}, |
@@ -559,7 +561,7 @@ digraphsfveasy = { -- see the diffenrences under 'easy' marker below | |||
559 | -- so there be no need to edit them: | 561 | -- so there be no need to edit them: |
560 | {a="ْ", b=""}, | 562 | {a="ْ", b=""}, |
561 | --tmp: next line is added | 563 | --tmp: next line is added |
562 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])%-([uai])", b="%1%2"}, | 564 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])%-([uaiUAI])", b="%1%2"}, |
563 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])$", b="%1ْ"}, | 565 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])$", b="%1ْ"}, |
564 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])([%s])", b="%1ْ%2"}, | 566 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])([%s])", b="%1ْ%2"}, |
565 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])([%_]?[^%_uaiUAIًٌٍ])", b="%1ْ%2"}, | 567 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])([%_]?[^%_uaiUAIًٌٍ])", b="%1ْ%2"}, |
@@ -654,4 +656,3 @@ singlefveasy = { -- see the differences under 'easy' tag below | |||
654 | {a="([^0-9])%-([^0-9])", b="%1%2"}, | 656 | {a="([^0-9])%-([^0-9])", b="%1%2"}, |
655 | {a="B", b="ـ"}, | 657 | {a="B", b="ـ"}, |
656 | } | 658 | } |
657 | |||