From e78497e46de9e3c96be6750173fb46d2be11f05f Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Fri, 29 Aug 2025 22:35:56 +0200 Subject: [PATCH] added CompoundN --- src/danish/ExtendDan.gf | 8 +++++++- src/norwegian/ExtendNor.gf | 8 +++++++- src/nynorsk/ExtendNno.gf | 8 +++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/src/danish/ExtendDan.gf b/src/danish/ExtendDan.gf index ff07260e5..3f8e00a63 100644 --- a/src/danish/ExtendDan.gf +++ b/src/danish/ExtendDan.gf @@ -19,8 +19,14 @@ concrete ExtendDan of Extend = CatDan ** GenRP ] with (Grammar = GrammarDan) - ** { + ** open Prelude in { flags coding=utf8 ; +lin CompoundN n1 n2 = { + s = \\n,s,c => n1.co ++ BIND ++ n2.s ! n ! s ! c ; + co = n1.co ++ BIND ++ n2.co ; + g = n2.g + } ; + } diff --git a/src/norwegian/ExtendNor.gf b/src/norwegian/ExtendNor.gf index 9498ea2e6..c5b4f33fd 100644 --- a/src/norwegian/ExtendNor.gf +++ b/src/norwegian/ExtendNor.gf @@ -19,8 +19,14 @@ concrete ExtendNor of Extend = CatNor ** GenRP ] with (Grammar = GrammarNor) - ** { + ** open Prelude in { flags coding=utf8 ; +lin CompoundN n1 n2 = { + s = \\n,s,c => n1.co ++ BIND ++ n2.s ! n ! s ! c ; + co = n1.co ++ BIND ++ n2.co ; + g = n2.g + } ; + } diff --git a/src/nynorsk/ExtendNno.gf b/src/nynorsk/ExtendNno.gf index d278a361d..36e70714f 100644 --- a/src/nynorsk/ExtendNno.gf +++ b/src/nynorsk/ExtendNno.gf @@ -19,8 +19,14 @@ concrete ExtendNno of Extend = CatNno ** GenRP ] with (Grammar = GrammarNno) - ** { + ** open Prelude in { flags coding=utf8 ; +lin CompoundN n1 n2 = { + s = \\n,s,c => n1.co ++ BIND ++ n2.s ! n ! s ! c ; + co = n1.co ++ BIND ++ n2.co ; + g = n2.g + } ; + }