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
+7 -3
View File
@@ -17,9 +17,13 @@ concrete VerbAra of Verb = CatAra ** open Prelude, ResAra in {
a = {pgn = Per3 Masc Sg ; isPron = False} } --FIXME
(predV v) ;-}
-- First dummy implementation / IL 2018-09-06
ComplVV v vp = insertStr (linVP vp) (predV v) ;
--
ComplVV vv vp = --- IL
predV vv ** {
s2 = vv.c2 ; -- add the preposition of the VV. TODO: do we need a separate field in the VP?
pred = compVP vp ; -- add VP complement in pred. TODO: what agreement features are needed?
isPred = False } ; {- Despite verb complement being in pred, it's not predicative.
Changing this to True causes PredVP to not include the verb. -}
-- ComplVS v s = insertObj (\\_ => conjThat ++ s.s) (predV v) ;
-- ComplVQ v q = insertObj (\\_ => q.s ! QIndir) (predV v) ;
--