1
0
forked from GitHub/gf-core

German relative "was" in RelS

This commit is contained in:
aarne
2015-07-21 15:00:35 +00:00
parent b0a4dfeddd
commit e366ca76fd
7 changed files with 24 additions and 15 deletions

View File

@@ -29,6 +29,7 @@ resource ResGer = ParamX ** open Prelude in {
-- Gender distinctions are only made in the singular.
GenNum = GSg Gender | GPl ;
RelGenNum = RGenNum GenNum | RSentence ;
-- Agreement of $NP$ has three parts.
@@ -801,7 +802,9 @@ resource ResGer = ParamX ** open Prelude in {
np ** {isPron = False} ;
oper
relPron : GenNum => Case => Str = \\gn,c =>
relPron : RelGenNum => Case => Str = \\rgn,c =>
case rgn of {
RGenNum gn =>
case <gn,c> of {
<GSg Fem,Gen> => "deren" ;
<GSg g,Gen> => "dessen" ;
@@ -809,5 +812,7 @@ resource ResGer = ParamX ** open Prelude in {
<GPl,Gen> => "deren" ;
_ => artDef ! gn ! c
} ;
RSentence => "was"
} ;
}