mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-28 17:38:54 -06:00
(Hun) MassNP, PredetNP, DetNP
This commit is contained in:
@@ -18,13 +18,14 @@ concrete NounHun of Noun = CatHun ** open ResHun, Prelude in {
|
|||||||
-- : Pron -> NP ;
|
-- : Pron -> NP ;
|
||||||
UsePron pron = pron ;
|
UsePron pron = pron ;
|
||||||
|
|
||||||
{-
|
|
||||||
-- : Predet -> NP -> NP ; -- only the man
|
-- : 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
|
-- A noun phrase can also be postmodified by the past participle of a
|
||||||
-- verb, by an adverb, or by a relative clause
|
-- verb, by an adverb, or by a relative clause
|
||||||
|
{-
|
||||||
|
|
||||||
-- : NP -> V2 -> NP ; -- the man seen
|
-- : NP -> V2 -> NP ; -- the man seen
|
||||||
PPartNP np v2 = np ** {
|
PPartNP np v2 = np ** {
|
||||||
@@ -37,7 +38,7 @@ concrete NounHun of Noun = CatHun ** open ResHun, Prelude in {
|
|||||||
RelNP np rs = np ** {} ;
|
RelNP np rs = np ** {} ;
|
||||||
|
|
||||||
-- Determiners can form noun phrases directly.
|
-- Determiners can form noun phrases directly.
|
||||||
|
-}
|
||||||
-- : Det -> NP ;
|
-- : Det -> NP ;
|
||||||
DetNP det = emptyNP ** {
|
DetNP det = emptyNP ** {
|
||||||
s = det.sp ;
|
s = det.sp ;
|
||||||
@@ -49,7 +50,6 @@ concrete NounHun of Noun = CatHun ** open ResHun, Prelude in {
|
|||||||
s = \\c => cn.s ! Sg ! c ;
|
s = \\c => cn.s ! Sg ! c ;
|
||||||
agr = <P3,Sg> ;
|
agr = <P3,Sg> ;
|
||||||
} ;
|
} ;
|
||||||
-}
|
|
||||||
|
|
||||||
--2 Determiners
|
--2 Determiners
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user