diff options
Diffstat (limited to 'arabluatex_voc.lua')
-rw-r--r-- | arabluatex_voc.lua | 76 |
1 files changed, 31 insertions, 45 deletions
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua index a914ba4..68b290d 100644 --- a/arabluatex_voc.lua +++ b/arabluatex_voc.lua | |||
@@ -231,27 +231,15 @@ hamza = { | |||
231 | {a="([%s%(%[%<%-])(')([ua])", b="%1أ%3"}, | 231 | {a="([%s%(%[%<%-])(')([ua])", b="%1أ%3"}, |
232 | {a="([%s%(%[%<%-])(')(i)", b="%1إ%3"}, | 232 | {a="([%s%(%[%<%-])(')(i)", b="%1إ%3"}, |
233 | -- final | 233 | -- final |
234 | -- ^say'aN, .zim'aN, mi'aT are special orthographies | 234 | -- mi'aT is special orthography (unlike ^say'aN and .zim'aN): |
235 | {a="(%^sa%.?[yY])(\"?%|?)(%')(aN)", b="%1%2ئ%4"}, | 235 | -- {a="(%^sa%.?[yY])(\"?%|?)(%')(aN)", b="%1%2ئ%4"}, --new |
236 | {a="(.zi?m)(%')(aN)", b="%1ئ%3"}, | 236 | -- {a="(.zi?m)(%')(aN)", b="%1ئ%3"}, --new |
237 | {a="(mi)(%')(a[Tt])", b="%1ائ%3"}, | 237 | {a="(mi)(%')(a[Tt])", b="%1ائ%3"}, |
238 | {a="(mi)(%')(aN%_?[AY])", b="%1أ%3"}, | 238 | {a="(mi)(%')(aN%_?[AY])", b="%1أ%3"}, |
239 | -- hamzah + pr. suffix: the carrier passes into yāʾ before ī so | 239 | -- final hamzah is on the line after a letter of prolongation or a |
240 | -- take out the following two lines: | 240 | -- consonant with sukūn |
241 | -- {a="(')(I%p?)$", b="إ%2"}, -- affix pr. 1st person sg. | 241 | {a="([^Auai])(')(\"?[uai]N?)(%p?)$", b="%1ء%3%4"}, --new |
242 | -- {a="(')(I)(%p?%s)", b="إ%2%3"}, -- affix pr. 1st person sg. | 242 | {a="([^Auai])(')(\"?[uai]N?)(%p?%s)", b="%1ء%3%4"}, |
243 | -- | ||
244 | -- The Munjid says that such words as radI'aN do not have the | ||
245 | -- hamzah alone on the line so replace the following two lines with | ||
246 | -- the next two: | ||
247 | -- {a="([^uai])(')([uai]N?%p?)$", b="%1ء%3"}, | ||
248 | -- {a="([^uai])(')([uai]N?)(%p?%s)", b="%1ء%3%4"}, | ||
249 | {a="([Iy])(')(aN%p?)$", b="%1ئ%3"}, | ||
250 | {a="([Iy])(')(aN)(%p?%s)", b="%1ئ%3%4"}, | ||
251 | {a="([^uai])(')(aN)(%p?)$", b="%1ء%3ا%4"}, | ||
252 | {a="([^uai])(')(aN)(%p?%s)", b="%1ء%3ا%4"}, | ||
253 | {a="([^uai])(')([ui]N?%p?)$", b="%1ء%3"}, | ||
254 | {a="([^uai])(')([ui]N?)(%p?%s)", b="%1ء%3%4"}, | ||
255 | -- u | 243 | -- u |
256 | {a="(u)(')([uai]N?%p?)$", b="%1ؤ%3"}, | 244 | {a="(u)(')([uai]N?%p?)$", b="%1ؤ%3"}, |
257 | {a="(u)(')([uai]N?)(%p?%s)", b="%1ؤ%3%4"}, | 245 | {a="(u)(')([uai]N?)(%p?%s)", b="%1ؤ%3%4"}, |
@@ -277,7 +265,7 @@ hamza = { | |||
277 | {a="(i)(')(%p?%s)", b="%1ئ%3"}, | 265 | {a="(i)(')(%p?%s)", b="%1ئ%3"}, |
278 | -- | 266 | -- |
279 | -- middle | 267 | -- middle |
280 | {a="(U)(')", b="%1ء"}, | 268 | {a="([Uw])(')", b="%1ء"}, --new |
281 | {a="([Iy])(')", b="%1ئ"}, | 269 | {a="([Iy])(')", b="%1ئ"}, |
282 | {a="([^uai])(')([uU])", b="%1ؤ%3"}, | 270 | {a="([^uai])(')([uU])", b="%1ؤ%3"}, |
283 | {a="([^uai])(')(%_?[aAY])", b="%1أ%3"}, | 271 | {a="([^uai])(')(%_?[aAY])", b="%1أ%3"}, |
@@ -362,27 +350,25 @@ hamzaeasy = { -- differences marked below with 'easy' | |||
362 | {a="([%s%(%[%<%-])(')([ua])", b="%1أ%3"}, | 350 | {a="([%s%(%[%<%-])(')([ua])", b="%1أ%3"}, |
363 | {a="([%s%(%[%<%-])(')(i)", b="%1إ%3"}, | 351 | {a="([%s%(%[%<%-])(')(i)", b="%1إ%3"}, |
364 | -- final | 352 | -- final |
365 | -- ^say'aN, .zim'aN, mi'aT are special orthographies | 353 | -- mi'aT is special orthography (unlike ^say'aN and .zim'aN) |
366 | {a="(%^sa%.?[yY])(\"?%|?)(%')(aN)", b="%1%2ئ%4"}, | 354 | -- {a="(%^sa%.?[yY])(\"?%|?)(%')(aN)", b="%1%2ئ%4"}, --new |
367 | {a="(.zi?m)(%')(aN)", b="%1ئ%3"}, | 355 | -- {a="(.zi?m)(%')(aN)", b="%1ئ%3"}, --new |
368 | {a="(mi)(%')(a[Tt])", b="%1ائ%3"}, | 356 | {a="(mi)(%')(a[Tt])", b="%1ائ%3"}, |
369 | {a="(mi)(%')(aN%_?[AY])", b="%1أ%3"}, | 357 | {a="(mi)(%')(aN%_?[AY])", b="%1أ%3"}, |
370 | -- hamzah + pr. suffix: the carrier passes into yāʾ before ī so | 358 | -- easy (begin) |
371 | -- take out the following two lines: | ||
372 | -- {a="(')(I%p?)$", b="إ%2"}, -- affix pr. 1st person sg. | ||
373 | -- {a="(')(I)(%p?%s)", b="إ%2%3"}, -- affix pr. 1st person sg. | ||
374 | -- | ||
375 | -- The Munjid says that such words as radI'aN do not have the | 359 | -- The Munjid says that such words as radI'aN do not have the |
376 | -- hamzah alone on the line so replace the following two lines with | 360 | -- hamzah alone on the line, so take out the following two lines |
377 | -- the next two: | 361 | -- (final hamzah is on the line after a letter of prolongation or a |
378 | -- {a="([^uai])(')([uai]N?%p?)$", b="%1ء%3"}, | 362 | -- consonant with sukūn) |
379 | -- {a="([^uai])(')([uai]N?)(%p?%s)", b="%1ء%3%4"}, | 363 | -- {a="([^Auai])(')(\"?[uai]N?)(%p?)$", b="%1ء%3%4"}, --new |
380 | {a="([Iy])(')(aN%p?)$", b="%1ئ%3"}, | 364 | -- {a="([^Auai])(')(\"?[uai]N?)(%p?%s)", b="%1ء%3%4"}, |
381 | {a="([Iy])(')(aN)(%p?%s)", b="%1ئ%3%4"}, | 365 | {a="([^Auai])(')(\"?aN)(%p?)$", b="%1ئ%3%4"}, --new |
382 | {a="([^uai])(')(aN)(%p?)$", b="%1ء%3ا%4"}, | 366 | {a="([^Auai])(')(\"?aN)(%p?%s)", b="%1ئ%3%4"}, --new |
383 | {a="([^uai])(')(aN)(%p?%s)", b="%1ء%3ا%4"}, | 367 | {a="([^uai])(')(\"?a)(%p?)$", b="%1ء%3%4"}, --new |
384 | {a="([^uai])(')([ui]N?%p?)$", b="%1ء%3"}, | 368 | {a="([^uai])(')(\"?a)(%p?%s)", b="%1ء%3%4"}, --new |
385 | {a="([^uai])(')([ui]N?)(%p?%s)", b="%1ء%3%4"}, | 369 | {a="([^uai])(')(\"?[ui]N?)(%p?)$", b="%1ء%3%4"}, --new |
370 | {a="([^uai])(')(\"?[ui]N?)(%p?%s)", b="%1ء%3%4"}, --new | ||
371 | --easy (end) | ||
386 | -- u | 372 | -- u |
387 | {a="(u)(')([uai]N?%p?)$", b="%1ؤ%3"}, | 373 | {a="(u)(')([uai]N?%p?)$", b="%1ؤ%3"}, |
388 | {a="(u)(')([uai]N?)(%p?%s)", b="%1ؤ%3%4"}, | 374 | {a="(u)(')([uai]N?)(%p?%s)", b="%1ؤ%3%4"}, |
@@ -408,7 +394,7 @@ hamzaeasy = { -- differences marked below with 'easy' | |||
408 | {a="(i)(')(%p?%s)", b="%1ئ%3"}, | 394 | {a="(i)(')(%p?%s)", b="%1ئ%3"}, |
409 | -- | 395 | -- |
410 | -- middle | 396 | -- middle |
411 | {a="(U)(')", b="%1ء"}, | 397 | {a="([Uw])(')", b="%1ء"}, --new |
412 | {a="([Iy])(')", b="%1ئ"}, | 398 | {a="([Iy])(')", b="%1ئ"}, |
413 | {a="([^uai])(')([uU])", b="%1ؤ%3"}, | 399 | {a="([^uai])(')([uU])", b="%1ؤ%3"}, |
414 | {a="([^uai])(')(%_?[aAY])", b="%1أ%3"}, | 400 | {a="([^uai])(')(%_?[aAY])", b="%1أ%3"}, |
@@ -443,7 +429,7 @@ tanwin = { | |||
443 | {a="%-?(aN)(_A)(%s)([rlmnwy])", b="ًى%3%4%4"}, | 429 | {a="%-?(aN)(_A)(%s)([rlmnwy])", b="ًى%3%4%4"}, |
444 | {a="%-?(aN)(Y)(%s)([rlmnwy])", b="ًى%3%4%4"}, | 430 | {a="%-?(aN)(Y)(%s)([rlmnwy])", b="ًى%3%4%4"}, |
445 | {a="(T)%-?(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"}, | 431 | {a="(T)%-?(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"}, |
446 | {a="(ء)%-?(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"}, | 432 | {a="(ء)%-?(aN)(%s)([rlmnwy])", b="%1%2%3%4%4"}, --new |
447 | {a="([^TA])%-?(aN)(%s)([rlmnwy])", b="%1ًا%3%4%4"}, | 433 | {a="([^TA])%-?(aN)(%s)([rlmnwy])", b="%1ًا%3%4%4"}, |
448 | {a="%-?(iNI?)(%s)([rlmnwy])", b="ٍ%2%3%3"}, | 434 | {a="%-?(iNI?)(%s)([rlmnwy])", b="ٍ%2%3%3"}, |
449 | -- assimilations (end) | 435 | -- assimilations (end) |
@@ -455,7 +441,7 @@ tanwin = { | |||
455 | {a="%-?(\"aN)(_A)", b="ى"}, | 441 | {a="%-?(\"aN)(_A)", b="ى"}, |
456 | {a="%-?(\"aN)(Y)", b="ى"}, | 442 | {a="%-?(\"aN)(Y)", b="ى"}, |
457 | {a="(T)%-?(\"aN)", b="%1"}, | 443 | {a="(T)%-?(\"aN)", b="%1"}, |
458 | {a="(ء)%-?(\"aN)", b="%1"}, | 444 | {a="([آ])()%-?(\"aN)", b="%1%2"}, --new |
459 | {a="([^TA])%-?(\"aN)", b="%1ا"}, | 445 | {a="([^TA])%-?(\"aN)", b="%1ا"}, |
460 | {a="%-?(\"iNI?)", b=""}, | 446 | {a="%-?(\"iNI?)", b=""}, |
461 | -- quoted tanwīn (end) | 447 | -- quoted tanwīn (end) |
@@ -464,7 +450,7 @@ tanwin = { | |||
464 | {a="%-?(aN)(_A)", b="ًى"}, | 450 | {a="%-?(aN)(_A)", b="ًى"}, |
465 | {a="%-?(aN)(Y)", b="ًى"}, | 451 | {a="%-?(aN)(Y)", b="ًى"}, |
466 | {a="(T)%-?(aN)", b="%1ً"}, | 452 | {a="(T)%-?(aN)", b="%1ً"}, |
467 | {a="(ء)%-?(aN)", b="%1ً"}, | 453 | {a="([آ])()%-?(aN)", b="%1%2ً"}, --new |
468 | {a="([^TA])%-?(aN)", b="%1ًا"}, | 454 | {a="([^TA])%-?(aN)", b="%1ًا"}, |
469 | {a="%-?(iNI?)", b="ٍ"} | 455 | {a="%-?(iNI?)", b="ٍ"} |
470 | } | 456 | } |
@@ -485,7 +471,7 @@ tanwineasy = { -- 'easy' requires some lines to be taken out: | |||
485 | -- {a="%-?(aN)(_A)(%s)([rlmnwy])", b="ًى%3%4%4"}, | 471 | -- {a="%-?(aN)(_A)(%s)([rlmnwy])", b="ًى%3%4%4"}, |
486 | -- {a="%-?(aN)(Y)(%s)([rlmnwy])", b="ًى%3%4%4"}, | 472 | -- {a="%-?(aN)(Y)(%s)([rlmnwy])", b="ًى%3%4%4"}, |
487 | -- {a="(T)%-?(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"}, | 473 | -- {a="(T)%-?(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"}, |
488 | -- {a="(ء)%-?(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"}, | 474 | -- {a="(ء)%-?(aN)(%s)([rlmnwy])", b="%1%2%3%4%4"}, --new |
489 | -- {a="([^TA])%-?(aN)(%s)([rlmnwy])", b="%1ًا%3%4%4"}, | 475 | -- {a="([^TA])%-?(aN)(%s)([rlmnwy])", b="%1ًا%3%4%4"}, |
490 | -- {a="%-?(iNI?)(%s)([rlmnwy])", b="ٍ%2%3%3"}, | 476 | -- {a="%-?(iNI?)(%s)([rlmnwy])", b="ٍ%2%3%3"}, |
491 | -- assimilations (end) | 477 | -- assimilations (end) |
@@ -497,7 +483,7 @@ tanwineasy = { -- 'easy' requires some lines to be taken out: | |||
497 | {a="%-?(\"aN)(_A)", b="ى"}, | 483 | {a="%-?(\"aN)(_A)", b="ى"}, |
498 | {a="%-?(\"aN)(Y)", b="ى"}, | 484 | {a="%-?(\"aN)(Y)", b="ى"}, |
499 | {a="(T)%-?(\"aN)", b="%1"}, | 485 | {a="(T)%-?(\"aN)", b="%1"}, |
500 | {a="(ء)%-?(\"aN)", b="%1"}, | 486 | {a="([آ])()%-?(\"aN)", b="%1%2"}, --new |
501 | {a="([^TA])%-?(\"aN)", b="%1ا"}, | 487 | {a="([^TA])%-?(\"aN)", b="%1ا"}, |
502 | {a="%-?(\"iNI?)", b=""}, | 488 | {a="%-?(\"iNI?)", b=""}, |
503 | -- quoted tanwīn (end) | 489 | -- quoted tanwīn (end) |
@@ -506,7 +492,7 @@ tanwineasy = { -- 'easy' requires some lines to be taken out: | |||
506 | {a="%-?(aN)(_A)", b="ًى"}, | 492 | {a="%-?(aN)(_A)", b="ًى"}, |
507 | {a="%-?(aN)(Y)", b="ًى"}, | 493 | {a="%-?(aN)(Y)", b="ًى"}, |
508 | {a="(T)%-?(aN)", b="%1ً"}, | 494 | {a="(T)%-?(aN)", b="%1ً"}, |
509 | {a="(ء)%-?(aN)", b="%1ً"}, | 495 | {a="([آ])()%-?(aN)", b="%1%2ً"}, --new |
510 | {a="([^TA])%-?(aN)", b="%1ًا"}, | 496 | {a="([^TA])%-?(aN)", b="%1ًا"}, |
511 | {a="%-?(iNI?)", b="ٍ"} | 497 | {a="%-?(iNI?)", b="ٍ"} |
512 | } | 498 | } |