mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-12 20:52:50 -06:00
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:
@@ -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 ;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
abstract ExtraScandAbs = Extra ** {
|
||||
|
||||
fun --# notpresent
|
||||
fun
|
||||
TFutKommer : Tense ; --# notpresent
|
||||
emptyRP : RP ; -- empty RP in Acc position: "kvinnan jag såg"
|
||||
|
||||
}
|
||||
|
||||
@@ -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
|
||||
} ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user