(Kor) Add Predets and PredetNP

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

No files matched your search

+9 -1
View File
@@ -17,7 +17,15 @@ concrete NounKor of Noun = CatKor ** open ResKor, Prelude in {
-- UsePron pron = pron ;
-- : 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
-- verb, by an adverb, or by a relative clause