mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-09-28 13:13:39 -06:00
extensions from Codex
This commit is contained in:
@@ -75,6 +75,24 @@ lin
|
||||
};
|
||||
-}
|
||||
|
||||
PartNP cn np = cn ** {
|
||||
np = \\c => cn.np ! c ++ "مِنْ" ++ np.s ! Gen ;
|
||||
isHeavy = True
|
||||
} ;
|
||||
|
||||
CountNP det np = emptyNP ** {
|
||||
s = \\c => det.s ! NoHum ! Masc ! c ++ "مِنْ" ++ np.s ! Gen ;
|
||||
a = {pgn = agrP3 NoHum Masc (sizeToNumber det.n) ; isPron = False} ;
|
||||
isHeavy = True
|
||||
} ;
|
||||
|
||||
AdjDAP dap ap = dap ** {
|
||||
s = \\h,g,c => dap.s ! h ! g ! c
|
||||
++ ap.s ! h ! g ! (sizeToNumber dap.n) ! dap.d ! c
|
||||
} ;
|
||||
|
||||
ExtAdvNP np adv = AdvNP np adv ;
|
||||
|
||||
AdvNP np adv = np ** {
|
||||
s = \\c => np.s ! c ++ adv.s ;
|
||||
isHeavy = True ;
|
||||
|
||||
Reference in New Issue
Block a user