diff options
Diffstat (limited to 'arabluatex_trans.lua')
-rw-r--r-- | arabluatex_trans.lua | 60 |
1 files changed, 4 insertions, 56 deletions
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua index 87c85e9..981810f 100644 --- a/arabluatex_trans.lua +++ b/arabluatex_trans.lua | |||
@@ -205,65 +205,13 @@ trigraphstrdmg = { -- trigraphs or more | |||
205 | -- words ending in -āT with silent wāw/yāʾ | 205 | -- words ending in -āT with silent wāw/yāʾ |
206 | {a="(_a)UA", b="A"}, | 206 | {a="(_a)UA", b="A"}, |
207 | {a="(_a)U", b="A"}, | 207 | {a="(_a)U", b="A"}, |
208 | {a="(_a)I", b="A"}, | 208 | {a="(_a)I", b="A"} |
209 | -- assimilations | ||
210 | {a="(n)(}?)(%s)([rlmnwy])", b="%4%2%3%4"} | ||
211 | } | 209 | } |
212 | 210 | ||
213 | trigraphstrdmgeasy = { -- see the differences below under 'easy' tag | 211 | idghamtrdmg = { |
214 | -- 'llatI / 'llad_I | ||
215 | {a="^'ll(a)([%_]?[dt])", b="'ll%1%2"}, | ||
216 | {a="(%s)'ll(a)([%_]?[dt])", b="%1'll%2%3"}, | ||
217 | -- al- + lām | ||
218 | {a="^(a)l%-(l)", b="%1l-%2"}, | ||
219 | {a="([%s%-])(a)l%-(l)", b="%1%2l-%3"}, | ||
220 | -- al- + solar consonant | ||
221 | {a="^(a)l%-([%_%^%.]?[tdrzsn])", b="%1%2-%2"}, | ||
222 | {a="([%s%-])(a)l%-([%_%^%.]?[tdrzsn])", b="%1%2%3-%3"}, | ||
223 | -- assim. art. + solar consonant | ||
224 | {a="^(a)([%_%^%.]?[tdrzsn])%-", b="%1%2-"}, | ||
225 | {a="([%s%-])(a)([%_%^%.]?[tdrzsn])%-", b="%1%2%3-"}, | ||
226 | -- al- + initial unstable hamza | ||
227 | {a="^(a)l%-([uai])", b="%1l-%2"}, | ||
228 | {a="([%s%-])(a)l%-([uai])", b="%1%2l-%3"}, | ||
229 | -- li-/la- + art. + initial unstable hamza is a special orthography | ||
230 | {a="l([ai])%-l%-([uai])", b="l%1-l-%2"}, | ||
231 | -- al- + lunar consonant (i.e. what remains) | ||
232 | {a="^(a)l%-", b="%1l-"}, | ||
233 | {a="([%s%-])(a)l%-", b="%1%2l-"}, | ||
234 | -- diphthongs to be resolved before ʾalif conjunctionis | ||
235 | {a="(aw)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1u%2%3"}, | ||
236 | {a="(ay)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1i%2%3"}, | ||
237 | -- art. with waṣla + lām | ||
238 | {a="'l%-(l)", b="'l-%1"}, | ||
239 | -- art. with waṣla + solar consonant | ||
240 | {a="'l%-([%_%^%.]?[tdrzsn])", b="'%1-%1"}, | ||
241 | -- li-/la- + art. + lām | ||
242 | {a="l([ai])%-l%-(l)", b="l%1-%2%2"}, | ||
243 | -- assim. art. with waṣla + solar consonant | ||
244 | {a="'([%_%^%.]?[tdrzsn])%-", b="'%1-"}, | ||
245 | -- li-/la- + art. + solar consonant is a special orthography | ||
246 | {a="l([ai])%-l%-([%_%^%.]?[tdrzsn])", b="l%1-%2-%2"}, | ||
247 | -- li-/la- + assim. art. + solar consonant is a special orthography | ||
248 | {a="l([ai])%-([%_%^%.]?[tdrzsn])%-([%_%^%.]?[tdrzsn])", b="l%1-%2-%3"}, | ||
249 | -- art. with waṣla + initial unstable hamza | ||
250 | {a="'l%-([uai])", b="'l-%1"}, | ||
251 | -- art. with waṣla + lunar consonant (i.e. what remains) | ||
252 | {a="'l%-", b="'l-"}, | ||
253 | -- the silent wāw | ||
254 | {a="uU$", b="u"}, | ||
255 | {a="uU(%W)", b="u%1"}, | ||
256 | {a="aU$", b="a"}, | ||
257 | {a="aU(%W)", b="a%1"}, | ||
258 | {a="iU$", b="i"}, | ||
259 | {a="iU(%W)", b="i%1"}, | ||
260 | -- words ending in -āT with silent wāw/yāʾ | ||
261 | {a="(_a)UA", b="A"}, | ||
262 | {a="(_a)U", b="A"}, | ||
263 | {a="(_a)I", b="A"} | ||
264 | -- assimilations | 212 | -- assimilations |
265 | --easy {a="(n)(%s)([rlmnwy])", b="%3%2%3"} | 213 | {a="(n)(}?)(%s)([rlmnwy])", b="%4%2%3%4"} |
266 | } | 214 | } |
267 | 215 | ||
268 | digraphstrdmg = { | 216 | digraphstrdmg = { |
269 | {a="([uai]%-)(\"?[uai])", b="%1'"}, -- hyphen + initial alif without hamza | 217 | {a="([uai]%-)(\"?[uai])", b="%1'"}, -- hyphen + initial alif without hamza |