diff options
Diffstat (limited to 'arabluatex_voc.lua')
-rw-r--r-- | arabluatex_voc.lua | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua index f83aa5c..39da99e 100644 --- a/arabluatex_voc.lua +++ b/arabluatex_voc.lua | |||
@@ -72,7 +72,7 @@ raw = { | |||
72 | } | 72 | } |
73 | 73 | ||
74 | buckwalter = { | 74 | buckwalter = { |
75 | --- madda: hold it for now | 75 | --- hard coded madda: hold it for now |
76 | {a="%|", b="@"}, | 76 | {a="%|", b="@"}, |
77 | -- prevent any unwanted šadda from being generated | 77 | -- prevent any unwanted šadda from being generated |
78 | {a="bb", b="b|b"}, | 78 | {a="bb", b="b|b"}, |
@@ -102,13 +102,15 @@ buckwalter = { | |||
102 | {a="ww", b="w|w"}, | 102 | {a="ww", b="w|w"}, |
103 | {a="yy", b="y|y"}, | 103 | {a="yy", b="y|y"}, |
104 | -- hamza begin | 104 | -- hamza begin |
105 | {a="A\'", b="@@"}, -- hold this (classic madda) | 105 | -- look into this later on: |
106 | -- {a="%>a?A", b="@@@"}, -- hold this (madda) | ||
107 | -- {a="%>a\'([^uai])", b="@@@%1"}, -- hold this (madda) | ||
108 | {a="a?A\'", b="@@"}, -- hold this (classic madda) | ||
106 | {a="\'", b="|\"\'"}, | 109 | {a="\'", b="|\"\'"}, |
107 | {a="%>", b="a\"\'"}, | 110 | {a="%>", b="a\"\'"}, |
108 | {a="%&", b="w\"\'"}, | 111 | {a="%&", b="w\"\'"}, |
109 | {a="%<", b="i\"\'"}, | 112 | {a="%<", b="i\"\'"}, |
110 | {a="%]", b="y\"\'"}, | 113 | {a="%]", b="y\"\'"}, |
111 | {a="@@", b="A\'"}, -- give back classic madda | ||
112 | -- hamza end | 114 | -- hamza end |
113 | -- trigraphs | 115 | -- trigraphs |
114 | {a="^Aal%-?", b="al-"}, | 116 | {a="^Aal%-?", b="al-"}, |
@@ -126,7 +128,9 @@ buckwalter = { | |||
126 | {a="iy([^%~])", b="I%1"}, | 128 | {a="iy([^%~])", b="I%1"}, |
127 | -- digraphs end | 129 | -- digraphs end |
128 | -- madda: get it back now | 130 | -- madda: get it back now |
129 | {a="%@", b="A\"\'"}, | 131 | -- {a="%@%@%@", b="\'A"}, |
132 | {a="%@%@", b="A\'"}, -- give back classic madda | ||
133 | {a="%@", b="A\"\'"}, -- hard coded madda | ||
130 | -- šadda: | 134 | -- šadda: |
131 | {a="([%g])(%~)", b="%1%1"}, | 135 | {a="([%g])(%~)", b="%1%1"}, |
132 | {a="%`", b="_a"}, | 136 | {a="%`", b="_a"}, |