From 180e73b130bae9faa3c9c054f2848a67621a5de3 Mon Sep 17 00:00:00 2001 From: aarne Date: Sun, 5 Jun 2016 21:15:39 +0000 Subject: [PATCH] some missing functions in wide-coverage Dut and Ger added --- lib/src/translator/ExtensionsDut.gf | 9 ++++++++- lib/src/translator/ExtensionsGer.gf | 11 +++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/lib/src/translator/ExtensionsDut.gf b/lib/src/translator/ExtensionsDut.gf index 750366b6f..b0c1d350e 100644 --- a/lib/src/translator/ExtensionsDut.gf +++ b/lib/src/translator/ExtensionsDut.gf @@ -144,7 +144,14 @@ lin lin that_RP = which_RP ; ----- UttAdV adv = adv; + UttAdV adv = adv ; + ApposNP np1 np2 = { + s = \\c => np1.s ! c ++ SOFT_BIND ++ "," ++ np2.s ! NPNom ; + a = np1.a ; + isPron = False + } ; + + AdAdV = cc2 ; } diff --git a/lib/src/translator/ExtensionsGer.gf b/lib/src/translator/ExtensionsGer.gf index e6cb534d2..d3fda471b 100644 --- a/lib/src/translator/ExtensionsGer.gf +++ b/lib/src/translator/ExtensionsGer.gf @@ -158,6 +158,17 @@ lin UttAdV adv = adv; + ApposNP np1 np2 = { + s = \\c => np1.s ! c ++ bigNP np1 ++ SOFT_BIND ++ "," ++ np2.s ! NPNom ; + ext = np2.ext ; + rc = np2.rc ; + adv = np2.adv ; + a = np1.a ; + isPron = False + } ; + + AdAdV = cc2 ; + DirectComplVS t np vs utt = mkS (lin Adv (optCommaSS utt)) (mkS t positivePol (mkCl np (lin V vs))) ;