1
0
forked from GitHub/gf-rgl

(Extend,Romance) Add SubjRelNP: force RS to be in subjunctive

Default implementation as RelNP in ExtendFunctor, actual implementation 
for Romance.
This commit is contained in:
Inari Listenmaa
2019-03-29 20:42:17 +01:00
parent c1425a2915
commit d5cf083d05
3 changed files with 8 additions and 2 deletions

View File

@@ -211,6 +211,8 @@ abstract Extend = Cat ** {
UseComp_estar : Comp -> VP ; -- (Cat, Spa, Por) "está cheio" instead of "é cheio" UseComp_estar : Comp -> VP ; -- (Cat, Spa, Por) "está cheio" instead of "é cheio"
SubjRelNP : NP -> RS -> NP ; -- Force RS in subjunctive: lo que les *resulte* mejor
iFem_Pron : Pron ; -- I (Fem) iFem_Pron : Pron ; -- I (Fem)
youFem_Pron : Pron ; -- you (Fem) youFem_Pron : Pron ; -- you (Fem)
weFem_Pron : Pron ; -- we (Fem) weFem_Pron : Pron ; -- we (Fem)

View File

@@ -96,7 +96,7 @@ lin
DetNPMasc = DetNP ; DetNPMasc = DetNP ;
DetNPFem = DetNP ; DetNPFem = DetNP ;
SubjRelNP = RelNP ;
UseComp_estar = UseComp ; -- DEFAULT UseComp UseComp_estar = UseComp ; -- DEFAULT UseComp
iFem_Pron = i_Pron ; -- DEFAULT I (masc) iFem_Pron = i_Pron ; -- DEFAULT I (masc)
youFem_Pron = youSg_Pron ; -- DEFAULT you (masc) youFem_Pron = youSg_Pron ; -- DEFAULT you (masc)

View File

@@ -51,7 +51,11 @@ incomplete concrete ExtendRomanceFunctor of Extend =
-- s = \\agr,t,a,p,m => cls.s ! agr ! DDir ! t ! a ! p ! m ++ cls.c2.s ; -- s = \\agr,t,a,p,m => cls.s ! agr ! DDir ! t ! a ! p ! m ++ cls.c2.s ;
-- c = Nom -- c = Nom
-- } ; -- } ;
SubjRelNP np rs = heavyNPpol np.isNeg {
s = \\c => (np.s ! c).ton ++ rs.s ! Conjunct ! np.a ;
a = np.a ;
hasClit = False
} ;
lin lin
PredVPS np vpi = { PredVPS np vpi = {
s = \\m => (np.s ! Nom).comp ++ vpi.s ! m ! np.a ! np.isNeg s = \\m => (np.s ! Nom).comp ++ vpi.s ! m ! np.a ! np.isNeg