1
0
forked from GitHub/gf-rgl

(Ara) VV and related functions

This commit is contained in:
Inari Listenmaa
2018-09-21 15:46:39 +02:00
parent e6107dcbfb
commit 1d159f155c
6 changed files with 26 additions and 13 deletions
+10 -5
View File
@@ -1054,11 +1054,16 @@ patHollowImp : (_,_ :Str) -> Gender => Number => Str =\xaf,xAf ->
s2 : Str
};
linVP : VP -> Str = \vp -> --used for the first dummy implementation of ComplVV --IL
vp.s ! Per3 Masc Sg ! VPPerf ++ vp.s2 ++
case vp.isPred of {
True => vp.pred.s ! {g=Masc ; n=Sg} ! Acc ;
False => vp.obj.s } ;
-- For complements of VV.
-- TODO: does verbal complement agree with the noun
compVP : VP -> Comp = \vp -> ---- IL
{ s = table {
aagr@{g=g ; n=n} => \\c =>
vp.s ! Per3 g n ! VPImpf Ind ---- IL guesswork + https://arabic.desert-sky.net/g_modals.html
++ vp.s2
++ vp.pred.s ! aagr ! Acc
++ vp.obj.s }
} ;
predV : Verb -> VP = \v ->
{ s = \\pgn,vf =>