diff options
Diffstat (limited to 'arabluatex_fullvoc.lua')
-rw-r--r-- | arabluatex_fullvoc.lua | 48 |
1 files changed, 30 insertions, 18 deletions
diff --git a/arabluatex_fullvoc.lua b/arabluatex_fullvoc.lua index 99efb75..8379693 100644 --- a/arabluatex_fullvoc.lua +++ b/arabluatex_fullvoc.lua | |||
@@ -78,11 +78,14 @@ hamzafv = { | |||
78 | -- then the 'initial' rules for the remaining cases | 78 | -- then the 'initial' rules for the remaining cases |
79 | {a="^(')([ua])", b="أ%2"}, | 79 | {a="^(')([ua])", b="أ%2"}, |
80 | {a="^(')(i)", b="إ%2"}, | 80 | {a="^(')(i)", b="إ%2"}, |
81 | {a="(%W)(')([ua])", b="%1أ%3"}, | 81 | -- consider replacing initial %W with [%s%(%[%<]: |
82 | {a="(%W)(')(i)", b="%1إ%3"}, | 82 | -- {a="(%W)(')([ua])", b="%1أ%3"}, |
83 | -- {a="(%W)(')(i)", b="%1إ%3"}, | ||
84 | {a="([%s%(%[%<])(')([ua])", b="%1أ%3"}, | ||
85 | {a="([%s%(%[%<])(')(i)", b="%1إ%3"}, | ||
83 | -- final | 86 | -- final |
84 | -- ^say'aN and .zim'aN are special orthographies | 87 | -- ^say'aN and .zim'aN are special orthographies |
85 | {a="(%^say)(%')(aN)", b="%1ئ%3"}, | 88 | {a="(%^sa%.?[yY])(\"?%|?)(%')(aN)", b="%1%2ئ%4"}, |
86 | {a="(.zi?m)(%')(aN)", b="%1ئ%3"}, | 89 | {a="(.zi?m)(%')(aN)", b="%1ئ%3"}, |
87 | {a="(')(I%p?)$", b="إ%2"}, -- affix pr. 1st person sg. | 90 | {a="(')(I%p?)$", b="إ%2"}, -- affix pr. 1st person sg. |
88 | {a="(')(I)(%p?%s)", b="إ%2%3"}, -- affix pr. 1st person sg. | 91 | {a="(')(I)(%p?%s)", b="إ%2%3"}, -- affix pr. 1st person sg. |
@@ -190,11 +193,14 @@ hamzafveasy = { -- differences marked below with 'easy' | |||
190 | -- then the 'initial' rules for the remaining cases | 193 | -- then the 'initial' rules for the remaining cases |
191 | {a="^(')([ua])", b="أ%2"}, | 194 | {a="^(')([ua])", b="أ%2"}, |
192 | {a="^(')(i)", b="إ%2"}, | 195 | {a="^(')(i)", b="إ%2"}, |
193 | {a="(%W)(')([ua])", b="%1أ%3"}, | 196 | -- consider replacing initial %W with [%s%(%[%<]: |
194 | {a="(%W)(')(i)", b="%1إ%3"}, | 197 | -- {a="(%W)(')([ua])", b="%1أ%3"}, |
198 | -- {a="(%W)(')(i)", b="%1إ%3"}, | ||
199 | {a="([%s%(%[%<])(')([ua])", b="%1أ%3"}, | ||
200 | {a="([%s%(%[%<])(')(i)", b="%1إ%3"}, | ||
195 | -- final | 201 | -- final |
196 | -- ^say'aN and .zim'aN are special orthographies | 202 | -- ^say'aN and .zim'aN are special orthographies |
197 | {a="(%^say)(%')(aN)", b="%1ئ%3"}, | 203 | {a="(%^sa%.?[yY])(\"?%|?)(%')(aN)", b="%1%2ئ%4"}, |
198 | {a="(.zi?m)(%')(aN)", b="%1ئ%3"}, | 204 | {a="(.zi?m)(%')(aN)", b="%1ئ%3"}, |
199 | {a="(')(I%p?)$", b="إ%2"}, -- affix pr. 1st person sg. | 205 | {a="(')(I%p?)$", b="إ%2"}, -- affix pr. 1st person sg. |
200 | {a="(')(I)(%p?%s)", b="إ%2%3"}, -- affix pr. 1st person sg. | 206 | {a="(')(I)(%p?%s)", b="إ%2%3"}, -- affix pr. 1st person sg. |
@@ -565,6 +571,7 @@ digraphsfvidgham = { | |||
565 | {a="hh", b="هّ"}, | 571 | {a="hh", b="هّ"}, |
566 | {a="ww", b="وّ"}, | 572 | {a="ww", b="وّ"}, |
567 | {a="yy", b="يّ"}, | 573 | {a="yy", b="يّ"}, |
574 | {a="%.y%.y", b="ىّ"}, | ||
568 | -- additional characters + šaddah (begin) | 575 | -- additional characters + šaddah (begin) |
569 | {a="pp", b="پّ"}, | 576 | {a="pp", b="پّ"}, |
570 | {a="vv", b="ڤّ"}, | 577 | {a="vv", b="ڤّ"}, |
@@ -575,10 +582,10 @@ digraphsfvidgham = { | |||
575 | -- additional characters + šaddah (end) | 582 | -- additional characters + šaddah (end) |
576 | -- sukūn begin | 583 | -- sukūn begin |
577 | -- first, take out hyphen if any: | 584 | -- first, take out hyphen if any: |
578 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])%-([uaiUAI])", b="%1%2"}, | 585 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwyY])%-([uaiUAI])", b="%1%2"}, |
579 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy]%p?)$", b="%1ْ"}, | 586 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwyY]%p?)$", b="%1ْ"}, |
580 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])(%p?%s)", b="%1ْ%2"}, | 587 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwyY])(%p?%s)", b="%1ْ%2"}, |
581 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])([%_]?[^%_uaiUAIYًٌٍ])", b="%1ْ%2"}, | 588 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwyY])([%_]?[^%_uaiUAIYًٌٍ])", b="%1ْ%2"}, |
582 | -- take out sukūn in cases of assimilation | 589 | -- take out sukūn in cases of assimilation |
583 | {a="(n)(ْ)(%s)(ر)", b="%1%3%4"}, | 590 | {a="(n)(ْ)(%s)(ر)", b="%1%3%4"}, |
584 | {a="(n)(ْ)(%s)(و)", b="%1%3%4"}, | 591 | {a="(n)(ْ)(%s)(و)", b="%1%3%4"}, |
@@ -599,6 +606,7 @@ digraphsfvidgham = { | |||
599 | {a="%.t", b="ط"}, | 606 | {a="%.t", b="ط"}, |
600 | {a="%.z", b="ظ"}, | 607 | {a="%.z", b="ظ"}, |
601 | {a="%.g", b="غ"}, | 608 | {a="%.g", b="غ"}, |
609 | {a="%.y", b="ى"}, | ||
602 | -- additional characters (begin) | 610 | -- additional characters (begin) |
603 | {a="%^c", b="چ"}, | 611 | {a="%^c", b="چ"}, |
604 | {a="%^z", b="ژ"}, | 612 | {a="%^z", b="ژ"}, |
@@ -688,6 +696,7 @@ digraphsfv = { | |||
688 | {a="hh", b="هّ"}, | 696 | {a="hh", b="هّ"}, |
689 | {a="ww", b="وّ"}, | 697 | {a="ww", b="وّ"}, |
690 | {a="yy", b="يّ"}, | 698 | {a="yy", b="يّ"}, |
699 | {a="%.y%.y", b="ىّ"}, | ||
691 | -- additional characters + šaddah (begin) | 700 | -- additional characters + šaddah (begin) |
692 | {a="pp", b="پّ"}, | 701 | {a="pp", b="پّ"}, |
693 | {a="vv", b="ڤّ"}, | 702 | {a="vv", b="ڤّ"}, |
@@ -698,10 +707,10 @@ digraphsfv = { | |||
698 | -- additional characters + šaddah (end) | 707 | -- additional characters + šaddah (end) |
699 | -- sukūn begin | 708 | -- sukūn begin |
700 | -- first, take out hyphen if any: | 709 | -- first, take out hyphen if any: |
701 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])%-([uaiUAI])", b="%1%2"}, | 710 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwyY])%-([uaiUAI])", b="%1%2"}, |
702 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy]%p?)$", b="%1ْ"}, | 711 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwyY]%p?)$", b="%1ْ"}, |
703 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])(%p?%s)", b="%1ْ%2"}, | 712 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwyY])(%p?%s)", b="%1ْ%2"}, |
704 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])([%_]?[^%_uaiUAIYًٌٍ])", b="%1ْ%2"}, | 713 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwyY])([%_]?[^%_uaiUAIYًٌٍ])", b="%1ْ%2"}, |
705 | -- take out sukūn in cases of assimilation | 714 | -- take out sukūn in cases of assimilation |
706 | -- {a="(n)(ْ)(%s)(ر)", b="%1%3%4"}, | 715 | -- {a="(n)(ْ)(%s)(ر)", b="%1%3%4"}, |
707 | -- {a="(n)(ْ)(%s)(و)", b="%1%3%4"}, | 716 | -- {a="(n)(ْ)(%s)(و)", b="%1%3%4"}, |
@@ -722,6 +731,7 @@ digraphsfv = { | |||
722 | {a="%.t", b="ط"}, | 731 | {a="%.t", b="ط"}, |
723 | {a="%.z", b="ظ"}, | 732 | {a="%.z", b="ظ"}, |
724 | {a="%.g", b="غ"}, | 733 | {a="%.g", b="غ"}, |
734 | {a="%.y", b="ى"}, | ||
725 | -- additional characters (begin) | 735 | -- additional characters (begin) |
726 | {a="%^c", b="چ"}, | 736 | {a="%^c", b="چ"}, |
727 | {a="%^z", b="ژ"}, | 737 | {a="%^z", b="ژ"}, |
@@ -811,6 +821,7 @@ digraphsfveasy = { -- see the differences under 'easy' marker below | |||
811 | {a="hh", b="هّ"}, | 821 | {a="hh", b="هّ"}, |
812 | {a="ww", b="وّ"}, | 822 | {a="ww", b="وّ"}, |
813 | {a="yy", b="يّ"}, | 823 | {a="yy", b="يّ"}, |
824 | {a="%.y%.y", b="ىّ"}, | ||
814 | -- additional characters + šaddah (begin) | 825 | -- additional characters + šaddah (begin) |
815 | {a="pp", b="پّ"}, | 826 | {a="pp", b="پّ"}, |
816 | {a="vv", b="ڤّ"}, | 827 | {a="vv", b="ڤّ"}, |
@@ -824,10 +835,10 @@ digraphsfveasy = { -- see the differences under 'easy' marker below | |||
824 | -- so there be no need to edit them: | 835 | -- so there be no need to edit them: |
825 | {a="ْ", b=""}, | 836 | {a="ْ", b=""}, |
826 | -- first, take out hyphen if any: | 837 | -- first, take out hyphen if any: |
827 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])%-([uaiUAI])", b="%1%2"}, | 838 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwyY])%-([uaiUAI])", b="%1%2"}, |
828 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy]%p?)$", b="%1ْ"}, | 839 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwyY]%p?)$", b="%1ْ"}, |
829 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])(%p?%s)", b="%1ْ%2"}, | 840 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwyY])(%p?%s)", b="%1ْ%2"}, |
830 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])([%_]?[^%_uaiUAIًٌٍ])", b="%1ْ%2"}, | 841 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwyY])([%_]?[^%_uaiUAIًٌٍ])", b="%1ْ%2"}, |
831 | -- take out sukūn in cases of assimilation | 842 | -- take out sukūn in cases of assimilation |
832 | -- {a="(n)(ْ)(%s)(ر)", b="%1%3%4"}, | 843 | -- {a="(n)(ْ)(%s)(ر)", b="%1%3%4"}, |
833 | -- {a="(n)(ْ)(%s)(و)", b="%1%3%4"}, | 844 | -- {a="(n)(ْ)(%s)(و)", b="%1%3%4"}, |
@@ -848,6 +859,7 @@ digraphsfveasy = { -- see the differences under 'easy' marker below | |||
848 | {a="%.t", b="ط"}, | 859 | {a="%.t", b="ط"}, |
849 | {a="%.z", b="ظ"}, | 860 | {a="%.z", b="ظ"}, |
850 | {a="%.g", b="غ"}, | 861 | {a="%.g", b="غ"}, |
862 | {a="%.y", b="ى"}, | ||
851 | -- additional characters (begin) | 863 | -- additional characters (begin) |
852 | {a="%^c", b="چ"}, | 864 | {a="%^c", b="چ"}, |
853 | {a="%^z", b="ژ"}, | 865 | {a="%^z", b="ژ"}, |