forked from GitHub/gf-rgl
added GN & SN categories for constructing names
This commit is contained in:
@@ -115,7 +115,7 @@ concrete CatKor of Cat = CommonX ** open ResKor, Prelude in {
|
||||
N = ResKor.Noun ;
|
||||
N2 = ResKor.Noun2 ;
|
||||
N3 = ResKor.Noun3 ;
|
||||
PN = ResKor.NounPhrase ;
|
||||
GN, SN, PN = ResKor.NounPhrase ;
|
||||
|
||||
linref
|
||||
V, V2, V3 = linVerb ;
|
||||
|
||||
@@ -8,4 +8,11 @@ concrete ExtendKor of Extend = CatKor
|
||||
lin
|
||||
-- : NP -> NP -> NP
|
||||
ApposNP np1 np2 = np1 ** {s = \\nf => np1.s ! nf ++ np2.s ! nf} ;
|
||||
|
||||
lin GivenName, Surname = \n -> n ;
|
||||
lin FullName gn sn = {
|
||||
s = \\nf => gn.s ! nf ++ sn.s ! nf ;
|
||||
p = gn.p
|
||||
} ;
|
||||
|
||||
} ;
|
||||
|
||||
Reference in New Issue
Block a user