From fbf4e6351ea57d656eea8fe049141598ae95d1a6 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Sun, 20 Mar 2016 19:03:02 +0100 Subject: =?UTF-8?q?assimilations=20[Wright=20i=20=C2=A714=20(b)];=20no=20m?= =?UTF-8?q?ore=20euphonic=20ta=C5=A1d=C4=ABd=20in=20novoc=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arabluatex_voc.lua | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'arabluatex_voc.lua') diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua index a3c9b62..b6dbd12 100644 --- a/arabluatex_voc.lua +++ b/arabluatex_voc.lua @@ -195,21 +195,32 @@ trigraphs = { -- trigraphs or more -- words ending in -āT with silent wāw/yāʾ {a="(_a)UA", b="%1وا"}, {a="(_a)U", b="%1و"}, - {a="(_a)I", b="%1ي"} + {a="(_a)I", b="%1ي"}, + -- assimilations + {a="(n)(%s)([rlmnwy])", b="%1%2%3%3"} } tanwin = { {a="uNU", b="ٌو"}, {a="aNU", b="ًوا"}, {a="iNU", b="ٍو"}, - {a="uN", b="ٌ"}, + -- assimilations (begin) + {a="(uN)(%s)([rlmnwy])", b="ٌ%2%3%3"}, + {a="(aN)(_A)(%s)([rlmnwy])", b="ًى%3%4%4"}, + {a="(aN)(Y)(%s)([rlmnwy])", b="ًى%3%4%4"}, + {a="(T)(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"}, + {a="(ء)(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"}, + {a="([^TA])(aN)(%s)([rlmnwy])", b="%1ًا%3%4%4"}, + {a="(iN)(%s)([rlmnwy])", b="ٍ%2%3%3"}, + -- assimilations (end) + {a="(uN)", b="ٌ"}, {a="(B)(aN)", b="%1ً"}, {a="(aN)(_A)", b="ًى"}, {a="(aN)(Y)", b="ًى"}, {a="(T)(aN)", b="%1ً"}, {a="(ء)(aN)", b="%1ً"}, {a="([^TA])(aN)", b="%1ًا"}, - {a="iN", b="ٍ"} + {a="(iN)", b="ٍ"} } digraphs = { -- cgit v1.2.3