Skip to content

Commit 3e066bd

Browse files
committed
Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl
2 parents 7d4e40b + f01d509 commit 3e066bd

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/german/CatGer.gf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ concrete CatGer of Cat =
4040

4141
VP = ResGer.VP ;
4242
VPSlash = ResGer.VPSlash ;
43-
Comp = {s : Agr => Str ; ext : Str} ;
43+
Comp = {s : Agr => Str ; ext : Number => Str} ;
4444

4545
-- Adjective (HL 7/23: we need c : Agr => Str * Str to handle reflexive objects, cf ReflA2)
4646

src/german/VerbGer.gf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,27 +103,27 @@ concrete VerbGer of Verb = CatGer ** open Prelude, ResGer, Coordination in {
103103
insertObj' obj b w c vps ;
104104

105105
UseComp comp =
106-
insertExtrapos comp.ext (insertObj comp.s (predV sein_V)) ; -- agr not used
106+
insertExtrapos (comp.ext ! Sg) (insertObj comp.s (predV sein_V)) ; -- agr not used ---- TODO: comp.ext depends on number if CompCN
107107
-- SS: adj slot not used here for e.g. "ich bin alt" but same behaviour as NPs?
108108
-- "ich bin nicht alt" "ich bin nicht Doris"
109109

110110
UseCopula = predV sein_V ;
111111

112-
CompAP ap = {s = \\_ => ap.c.p1 ++ ap.s ! APred ++ ap.c.p2 ; ext = ap.s2 ! Nom ++ ap.ext} ;
113-
CompNP np = {s = \\_ => np.s ! False ! Nom ++ np.rc ; ext = np.ext} ;
114-
CompAdv a = {s = \\_ => a.s ; ext = []} ;
112+
CompAP ap = {s = \\_ => ap.c.p1 ++ ap.s ! APred ++ ap.c.p2 ; ext = \\_ => ap.s2 ! Nom ++ ap.ext} ;
113+
CompNP np = {s = \\_ => np.s ! False ! Nom ; ext = \\_ => np.rc ++ np.ext} ;
114+
CompAdv a = {s = \\_ => a.s ; ext = \\_ => []} ;
115115

116116
CompCN cn = {
117117
s = let
118-
sg : Str = "ein" + pronEnding ! GSg cn.g ! Nom ++ cn.s ! Strong ! Sg ! Nom ++ cn.rc ! Sg ; ---
119-
pl : Str = cn.s ! Strong ! Pl ! Nom ++ cn.rc ! Pl
118+
sg : Str = "ein" + pronEnding ! GSg cn.g ! Nom ++ cn.s ! Strong ! Sg ! Nom ++ cn.adv ; ---
119+
pl : Str = cn.s ! Strong ! Pl ! Nom ++ cn.adv
120120
in table {
121121
AgPlPol => sg ;
122122
a => case numberAgr a of {
123123
Sg => sg ;
124124
Pl => pl }
125125
} ;
126-
ext = cn.adv ++ cn.ext
126+
ext = \\n => cn.rc ! n ++ cn.ext
127127
} ;
128128

129129
AdvVP vp adv = insertAdv adv.s vp ;

0 commit comments

Comments
 (0)