enabled emptyRP in Scandinavian by distinguishing between RNom and RAcc ; this also made it possible to use der as the Danish RNom form

This commit is contained in:
aarne
2016-06-05 16:40:46 +00:00
parent 773b2d8e16
commit 264806fbbd
9 changed files with 23 additions and 7 deletions

View File

@@ -75,7 +75,7 @@ param
NPForm = NPNom | NPAcc | NPPoss GenNum Case ;
RCase = RNom | RGen | RPrep Bool ;
RCase = RNom | RAcc | RGen | RPrep Bool ;
RAgr = RNoAg | RAg Gender Number Person ;

View File

@@ -16,6 +16,14 @@ incomplete concrete ExtraScand of ExtraScandAbs = CatScand **
}
} ;
emptyRP = {
s = \\g,n => table {
RAcc => [] ;
c => relPron ! g ! n ! c
} ;
a = RNoAg
} ;
PiedPipingRelSlash rp slash = {
s = \\t,a,p,ag,_ =>
let

View File

@@ -1,5 +1,7 @@
abstract ExtraScandAbs = Extra ** {
fun --# notpresent
fun
TFutKommer : Tense ; --# notpresent
emptyRP : RP ; -- empty RP in Acc position: "kvinnan jag såg"
}

View File

@@ -31,7 +31,7 @@ incomplete concrete RelativeScand of Relative =
RelSlash rp slash = {
s = \\t,a,p,ag,_ =>
rp.s ! ag.g ! ag.n ! RNom ++ slash.s ! t ! a ! p ! Sub ++ slash.c2.s ;
rp.s ! ag.g ! ag.n ! RAcc ++ slash.s ! t ! a ! p ! Sub ++ slash.c2.s ;
c = NPAcc
} ;