(Ara) Add paradigm for doubly weak FormIV + remove hamza from imperative prefix

This commit is contained in:
Inari Listenmaa
2018-11-07 11:31:07 +01:00
parent 2888073c44
commit 5c5cd125c9
3 changed files with 61 additions and 42 deletions
+8
View File
@@ -6,6 +6,8 @@ flags coding=utf8 ;
vow : pattern Str = #("َ" | "ِ" | "ُ" | "ً" | "ٍ" | "ٌ") ;
weak : pattern Str = #("و"|"ي") ;
-- "Sun letters": assimilate with def. article
sun : pattern Str = #("ت"|"ث"|"د"|"ذ"|"ر"|"ز"|"س"|"ش"|"ص"|"ض"|"ط"|"ظ"|"ل"|"ن") ;
@@ -17,6 +19,12 @@ flags coding=utf8 ;
_ => word + suffix
} ;
-- IL: using this to reuse patterns for weak verbs, might be strange/wrong
rmSukun : Str -> Str = \s -> case s of {
x + "ْ" + y => x + y ;
_ => s
} ;
-- Hamza
hamza : pattern Str = #("ء"|"؟") ;