1
0
forked from GitHub/gf-rgl

Merge pull request #213 from inariksit/extend-subj-rs

(Extend) Add SubjRelNP (only relevant for Romance)
This commit is contained in:
Inari Listenmaa
2019-04-01 08:49:24 +02:00
committed by GitHub
4 changed files with 10 additions and 4 deletions

View File

@@ -211,6 +211,8 @@ abstract Extend = Cat ** {
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)
youFem_Pron : Pron ; -- you (Fem)
weFem_Pron : Pron ; -- we (Fem)

View File

@@ -96,7 +96,7 @@ lin
DetNPMasc = DetNP ;
DetNPFem = DetNP ;
SubjRelNP = RelNP ;
UseComp_estar = UseComp ; -- DEFAULT UseComp
iFem_Pron = i_Pron ; -- DEFAULT I (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 ;
-- 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
PredVPS np vpi = {
s = \\m => (np.s ! Nom).comp ++ vpi.s ! m ! np.a ! np.isNeg

View File

@@ -61,11 +61,11 @@ concrete ExtendSpa of Extend = CatSpa ** ExtendRomanceFunctor -
Fem Sg P3 ;
youPolPl_Pron = mkPronoun
"ustedes" "los" "les" "usted"
"ustedes" "los" "les" "ustedes"
"su" "su" "sus" "sus"
Masc Pl P3 ;
youPolPlFem_Pron = mkPronoun
"ustedes" "las" "les" "usted"
"ustedes" "las" "les" "ustedes"
"su" "su" "sus" "sus"
Fem Pl P3 ;