forked from GitHub/comp-syntax-gu-mlt
20 lines
454 B
Plaintext
20 lines
454 B
Plaintext
resource MicroResKor = open Prelude in {
|
|
param
|
|
VForm = Lemma | VPresent | VPast ;
|
|
|
|
oper
|
|
Noun : Type = {s : Str} ;
|
|
Verb : Type = {s : VForm => Str} ;
|
|
Verb2 : Type = Verb ;
|
|
Adjective : Type = Verb ;
|
|
|
|
lemmaToStem : (lemma : Str) -> Str
|
|
= \lemma -> case lemma of {
|
|
stem + "다" => stem ;
|
|
_ => Predef.error ("lemmaToStem was applied to a non-lemma, " ++ lemma)
|
|
} ;
|
|
|
|
-- regVerb_eo : (lemma : Str) -> Verb
|
|
|
|
}
|