From abc3ce59394a273e4252eeec6e2243059faca285 Mon Sep 17 00:00:00 2001 From: Inari Listenmaa Date: Mon, 13 Apr 2020 19:40:25 +0200 Subject: [PATCH] (Hun) MassNP, PredetNP, DetNP --- src/hungarian/NounHun.gf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/hungarian/NounHun.gf b/src/hungarian/NounHun.gf index 905d3d5a6..180a38dfa 100644 --- a/src/hungarian/NounHun.gf +++ b/src/hungarian/NounHun.gf @@ -18,13 +18,14 @@ concrete NounHun of Noun = CatHun ** open ResHun, Prelude in { -- : Pron -> NP ; UsePron pron = pron ; - {- -- : Predet -> NP -> NP ; -- only the man - PredetNP predet np = np ** {s = } ; + PredetNP predet np = np ** { + s = \\c => predet.s ++ np.s ! c ; + } ; -- A noun phrase can also be postmodified by the past participle of a -- verb, by an adverb, or by a relative clause - +{- -- : NP -> V2 -> NP ; -- the man seen PPartNP np v2 = np ** { @@ -37,7 +38,7 @@ concrete NounHun of Noun = CatHun ** open ResHun, Prelude in { RelNP np rs = np ** {} ; -- Determiners can form noun phrases directly. - +-} -- : Det -> NP ; DetNP det = emptyNP ** { s = det.sp ; @@ -49,7 +50,6 @@ concrete NounHun of Noun = CatHun ** open ResHun, Prelude in { s = \\c => cn.s ! Sg ! c ; agr = ; } ; --} --2 Determiners