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