diff options
Diffstat (limited to 'arabluatex_trans.lua')
-rw-r--r-- | arabluatex_trans.lua | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua index 99d3712..b61c6db 100644 --- a/arabluatex_trans.lua +++ b/arabluatex_trans.lua | |||
@@ -122,6 +122,26 @@ hamzatrdmg = { | |||
122 | {a="(i)(')([^uaiUAI])", b="%1ʾ%3"} | 122 | {a="(i)(')([^uaiUAI])", b="%1ʾ%3"} |
123 | } | 123 | } |
124 | 124 | ||
125 | tanwintrdmg = { | ||
126 | {a="uNU", b="un"}, | ||
127 | {a="aNU", b="an"}, | ||
128 | {a="iNU", b="in"}, | ||
129 | -- tanwīn preceding ʾalif conjunctionis | ||
130 | {a="(uN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="uni%2%3"}, | ||
131 | {a="(aN)(_A)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="ani%3%4"}, | ||
132 | {a="(aN)(Y)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="ani%3%4"}, | ||
133 | {a="(T)(aN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="tani%3%4"}, | ||
134 | {a="([^TA])(aN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1ani%3%4"}, | ||
135 | {a="(iN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="ini%2%3"}, | ||
136 | -- | ||
137 | {a="uN", b="un"}, | ||
138 | {a="(aN)(_A)", b="an"}, | ||
139 | {a="(aN)(Y)", b="an"}, | ||
140 | {a="(T)(\"?aN)", b="tan"}, | ||
141 | {a="([^TA])(\"?aN)", b="%1an"}, | ||
142 | {a="iN", b="in"} | ||
143 | } | ||
144 | |||
125 | trigraphstrdmg = { -- trigraphs or more | 145 | trigraphstrdmg = { -- trigraphs or more |
126 | -- 'llatI / 'llad_I | 146 | -- 'llatI / 'llad_I |
127 | {a="^'ll(a)([%_]?[dt])", b="'ll%1%2"}, | 147 | {a="^'ll(a)([%_]?[dt])", b="'ll%1%2"}, |
@@ -177,26 +197,6 @@ trigraphstrdmg = { -- trigraphs or more | |||
177 | {a="(n)(%s)([rlmnwy])", b="%3%2%3"} | 197 | {a="(n)(%s)([rlmnwy])", b="%3%2%3"} |
178 | } | 198 | } |
179 | 199 | ||
180 | tanwintrdmg = { | ||
181 | {a="uNU", b="un"}, | ||
182 | {a="aNU", b="an"}, | ||
183 | {a="iNU", b="in"}, | ||
184 | -- tanwīn preceding ʾalif conjunctionis | ||
185 | {a="(uN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="uni%2%3"}, | ||
186 | {a="(aN)(_A)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="ani%3%4"}, | ||
187 | {a="(aN)(Y)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="ani%3%4"}, | ||
188 | {a="(T)(aN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="tani%3%4"}, | ||
189 | {a="([^TA])(aN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1ani%3%4"}, | ||
190 | {a="(iN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="ini%2%3"}, | ||
191 | -- | ||
192 | {a="uN", b="un"}, | ||
193 | {a="(aN)(_A)", b="an"}, | ||
194 | {a="(aN)(Y)", b="an"}, | ||
195 | {a="(T)(\"?aN)", b="tan"}, | ||
196 | {a="([^TA])(\"?aN)", b="%1an"}, | ||
197 | {a="iN", b="in"} | ||
198 | } | ||
199 | |||
200 | digraphstrdmg = { | 200 | digraphstrdmg = { |
201 | {a="([uai]%-)(\"?[uai])", b="%1'"}, -- hyphen + initial alif without hamza | 201 | {a="([uai]%-)(\"?[uai])", b="%1'"}, -- hyphen + initial alif without hamza |
202 | {a="^(\"?[uai])", b="%1"}, -- initial alif without hamza | 202 | {a="^(\"?[uai])", b="%1"}, -- initial alif without hamza |
@@ -342,6 +342,18 @@ hamzatrloc = { | |||
342 | {a="(i)(')([^uaiUAI])", b="%1ʾ%3"} | 342 | {a="(i)(')([^uaiUAI])", b="%1ʾ%3"} |
343 | } | 343 | } |
344 | 344 | ||
345 | tanwintrloc = { | ||
346 | {a="uNU", b="un"}, | ||
347 | {a="aNU", b="an"}, | ||
348 | {a="iNU", b="in"}, | ||
349 | {a="uN", b="un"}, | ||
350 | {a="(aN)(_A)", b="an"}, | ||
351 | {a="(aN)(Y)", b="an"}, | ||
352 | {a="(T)(\"?aN)", b="tan"}, | ||
353 | {a="([^TA])(\"?aN)", b="%1an"}, | ||
354 | {a="iN", b="in"} | ||
355 | } | ||
356 | |||
345 | trigraphstrloc = { -- trigraphs or more | 357 | trigraphstrloc = { -- trigraphs or more |
346 | -- 'llatI / 'llad_I | 358 | -- 'llatI / 'llad_I |
347 | {a="^'ll(a)([%_]?[dt])", b="all%1%2"}, | 359 | {a="^'ll(a)([%_]?[dt])", b="all%1%2"}, |
@@ -392,18 +404,6 @@ trigraphstrloc = { -- trigraphs or more | |||
392 | {a="(_a)I", b="A"} | 404 | {a="(_a)I", b="A"} |
393 | } | 405 | } |
394 | 406 | ||
395 | tanwintrloc = { | ||
396 | {a="uNU", b="un"}, | ||
397 | {a="aNU", b="an"}, | ||
398 | {a="iNU", b="in"}, | ||
399 | {a="uN", b="un"}, | ||
400 | {a="(aN)(_A)", b="an"}, | ||
401 | {a="(aN)(Y)", b="an"}, | ||
402 | {a="(T)(\"?aN)", b="tan"}, | ||
403 | {a="([^TA])(\"?aN)", b="%1an"}, | ||
404 | {a="iN", b="in"} | ||
405 | } | ||
406 | |||
407 | digraphstrloc = { | 407 | digraphstrloc = { |
408 | {a="(%-)([uai])", b="%1%2"}, -- hyphen + initial alif without hamza | 408 | {a="(%-)([uai])", b="%1%2"}, -- hyphen + initial alif without hamza |
409 | {a="^([uai])", b="%1"}, -- initial alif without hamza | 409 | {a="^([uai])", b="%1"}, -- initial alif without hamza |