mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-01 23:32:51 -06:00
VP coordination, focus in QCl in Predication. Swe is close to correct but in Eng details with auxiliaries have to be fixed.
This commit is contained in:
@@ -7,33 +7,37 @@ cat
|
||||
Arg ;
|
||||
V Arg ;
|
||||
VP Arg ;
|
||||
VPC Arg ; -- conjunction of VP
|
||||
Temp ;
|
||||
Pol ;
|
||||
Cl Arg ;
|
||||
QCl Arg ;
|
||||
NP ;
|
||||
Adv ;
|
||||
AdV ;
|
||||
S ;
|
||||
QS ;
|
||||
Utt ;
|
||||
AP Arg ;
|
||||
IP ;
|
||||
Prep ;
|
||||
Conj ;
|
||||
|
||||
fun
|
||||
aNone, aS, aV : Arg ;
|
||||
aNone, aS, aV, aQ, aA : Arg ;
|
||||
aNP : Arg -> Arg ;
|
||||
TPres, TPast : Temp ;
|
||||
PPos, PNeg : Pol ;
|
||||
|
||||
UseV : Temp -> Pol -> (a : Arg) -> V a -> VP a ;
|
||||
|
||||
SlashVNP : (a : Arg) -> VP (aNP a) -> NP -> VP a ; -- consuming first NP
|
||||
SlashVNP2 : (a : Arg) -> VP (aNP (aNP a)) -> NP -> VP (aNP a) ; -- consuming second NP
|
||||
ComplVS : (a : Arg) -> VP aS -> Cl a -> VP a ;
|
||||
ComplVV : (a : Arg) -> VP aV -> VP a -> VP a ;
|
||||
SlashV2S : (a : Arg) -> VP (aNP aS) -> Cl a -> VP (aNP a) ; -- a:Arg gives slash propagation, SlashVS
|
||||
SlashV2V : (a : Arg) -> VP (aNP aV) -> VP a -> VP (aNP a) ;
|
||||
SlashVNP : (a : Arg) -> VP (aNP a) -> NP -> VP a ; -- consuming first NP
|
||||
SlashVNP2 : (a : Arg) -> VP (aNP (aNP a)) -> NP -> VP (aNP a) ; -- consuming second NP
|
||||
ComplVS : (a : Arg) -> VP aS -> Cl a -> VP a ;
|
||||
ComplVV : (a : Arg) -> VP aV -> VP a -> VP a ;
|
||||
ComplVQ : (a : Arg) -> VP aQ -> QCl a -> VP a ;
|
||||
ComplVA : (a : Arg) -> VP aA -> AP a -> VP a ;
|
||||
SlashV2S : (a : Arg) -> VP (aNP aS) -> Cl a -> VP (aNP a) ; -- a:Arg gives slash propagation, SlashVS
|
||||
SlashV2V : (a : Arg) -> VP (aNP aV) -> VP a -> VP (aNP a) ;
|
||||
|
||||
UseAP : Temp -> Pol -> (a : Arg) -> AP a -> VP a ;
|
||||
|
||||
@@ -47,22 +51,31 @@ fun
|
||||
ReflVP : (a : Arg) -> VP (aNP a) -> VP a ; -- refl on first position (direct object)
|
||||
ReflVP2 : (a : Arg) -> VP (aNP (aNP a)) -> VP (aNP a) ; -- refl on second position (indirect object)
|
||||
|
||||
QuestVP : IP -> VP aNone -> QS ; ---- TODO: QS a
|
||||
QuestSlash : IP -> Cl (aNP aNone) -> QS ;
|
||||
QuestVP : (a : Arg) -> IP -> VP a -> QCl a ;
|
||||
QuestSlash : (a : Arg) -> IP -> QCl (aNP a) -> QCl a ;
|
||||
QuestCl : (a : Arg) -> Cl a -> QCl a ;
|
||||
|
||||
DeclCl : Cl aNone -> S ;
|
||||
QuestCl : Cl aNone -> QS ;
|
||||
UseCl : Cl aNone -> S ;
|
||||
UseQCl : QCl aNone -> S ; -- deprecate QS
|
||||
|
||||
UttS : S -> Utt ;
|
||||
UttQS : QS -> Utt ;
|
||||
|
||||
StartVPC : Conj -> (a : Arg) -> VP a -> VP a -> VPC a ;
|
||||
ContVPC : (a : Arg) -> VP a -> VPC a -> VPC a ;
|
||||
UseVPC : (a : Arg) -> VPC a -> VP a ;
|
||||
|
||||
-- lexicon
|
||||
|
||||
sleep_V : V aNone ;
|
||||
walk_V : V aNone ;
|
||||
love_V2 : V (aNP aNone) ;
|
||||
look_V2 : V (aNP aNone) ;
|
||||
believe_VS : V aS ;
|
||||
tell_V2S : V (aNP aS) ;
|
||||
prefer_V3 : V (aNP (aNP aNone)) ;
|
||||
want_VV : V aV ;
|
||||
force_V2V : V (aNP aV) ;
|
||||
wonder_VQ : V aQ ;
|
||||
|
||||
old_A : AP aNone ;
|
||||
married_A2 : AP (aNP aNone) ; -- married to her
|
||||
@@ -80,4 +93,6 @@ fun
|
||||
|
||||
with_Prep : Prep ;
|
||||
|
||||
and_Conj : Conj ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user