1
0
forked from GitHub/gf-rgl

(Kor) Add Predets and PredetNP

This commit is contained in:
Inari Listenmaa
2020-03-23 14:24:09 +01:00
parent 703695b2cb
commit 779c8d7609
2 changed files with 17 additions and 8 deletions

View File

@@ -17,7 +17,15 @@ concrete NounKor of Noun = CatKor ** open ResKor, Prelude in {
-- UsePron pron = pron ; -- UsePron pron = pron ;
-- : Predet -> NP -> NP ; -- only the man -- : Predet -> NP -> NP ; -- only the man
-- PredetNP predet np = PredetNP predet np = np ** {s =
let sakwa = np.s ! Bare ;
man = predet.s ! np.p ;
un = table {Vowel => "는"; Consonant => "은"} ! predet.p
in table { -- TODO: do particles combine?
Topic => glue (glue sakwa man) un ;
_ => glue sakwa man
}
} ;
-- 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

View File

@@ -52,14 +52,15 @@ lin there_Adv = ss "" ;
----------------- -----------------
-- *Det and Quant -- *Det and Quant
-- lin how8many_IDet = ;
lin all_Predet = {s = \\_ => "마다" ; p = Vowel} ;
--lin not_Predet = { s = "" } ;
lin only_Predet = {s = \\_ => "만" ; p = Consonant} ;
--lin most_Predet = {s = ""} ;
{- {-
lin how8many_IDet = ;
lin all_Predet = {s = ""} ;
lin not_Predet = { s = "" } ;
lin only_Predet = { s = "" } ;
lin most_Predet = {s = ""} ;
lin every_Det = R.defDet [] pl ** lin every_Det = R.defDet [] pl **
{ s = mkVow } ; { s = mkVow } ;
lin few_Det = R.indefDet "" pl ; lin few_Det = R.indefDet "" pl ;