ar: move decision logic of dark vowels to ar_rules file

This commit is contained in:
Valdis Vitolins
2018-09-11 16:31:46 +03:00
parent 08ef8f9c8f
commit 5c7dd911f1
5 changed files with 35 additions and 35 deletions
+32 -8
View File
@@ -113,8 +113,10 @@
.group ا
ا a:
C) ا a: // if a consonant is before it, make the fatha long
C) ا (C a:
L30) ا a:
F) ا a.:
L30) ا (C a:
F) ا (C a.:
ا (َ ?
ا (ُ ?
ا (ِ ?
@@ -406,7 +408,8 @@
.group و
و w
C) و u: //واو بعد صامت دون تشكيل
L30) و u:
F) و u.:
ا) و w //واو بعد الألف
و (A w //واو بعدها حرف علة
و (_ w
@@ -443,7 +446,8 @@
.group ي
ي i
C) ي i: // ياء بعد صامت دون تشكيل
L30) ي i:
F) ي i.:
ا) ي j // ياء بعد ألف
يّ i:
يْ j
@@ -462,7 +466,8 @@
.group ى //ألف مقصورة
ى a
C) ى (_ a:
L30) ى (_ a:
F) ى (_ a.:
ىّ a:
ىْ a
@@ -486,27 +491,46 @@
// Other diacritics
.group
َ a // fatha
F) َ a. // fatha after thick consonant
َ (C_ =a // fatha in closed syllable
َ (CC_ =a // ..
F) َ (C_ =a.
َ (CC_ =a
F) َ (CC_ =a.
C) ٓ ? // madda after consonant
ِ i // kasra
F) ِ i. // kasra after thick consonant
ِ (C_ =i // kasra in closed syllable
ِ (CC_ =i // ..
F) ِ (C_ =i.
ِ (CC_ =i
F) ِ (CC_ =i.
ٍ (_S1 in // kasratan at the end of word
ٌ (_S1 un // dammatan at the end of word
ُ u // damma
F) ُ u. // damma after thick consonant
ُ (C_ =u // damma in closed syllable
ُ (CC_ =u // ..
F) ُ (C_ =u.
ُ (CC_ =u
F) ُ (CC_ =u.
ٰ a: // superscript alef
F) ٰ a.: // superscript alef after thick consonant
َا a: // fatha+alef
F) َا a.: // fatha+alef after thick consonant
ًا (_S2 an // fathatan+alef at the end of word
F) ًا (_S2 a.n // fathatan+alef at the end of word after thick consonant
َو au // fatha+waw
F) َو a.u // fatha+waw after thick consonant
ِو iw // kasra+waw
F) ِو i.w // kasra+waw after thick consonant
ُو u: // damma+waw
F) ُو u.: // damma+waw after thick consonant
َى a: // fatha+alef maksura
F) َى a.: // fatha+alef maksura after thick consonant
َي ai // fatha+yeh
F) َي a.i // fatha+yeh after thick consonant
ِي i: // kasra+yeh
F) ِي i.: // kasra+yeh after thick consonant
ُي ui // damma+yeh
F) ُي u.i // damma+yeh after thick consonant
ّ : // shadda
// Following are default rules for other diacritics and they are just silence.