forked from GitHub/gf-rgl
(Kor) Use all fields of VP in EmbedVP + tweak linref for VP
This commit is contained in:
@@ -119,5 +119,6 @@ concrete CatKor of Cat = CommonX ** open ResKor, Prelude in {
|
||||
PN = ResKor.NounPhrase ;
|
||||
|
||||
linref
|
||||
V, V2, V3, VP = linVerb ;
|
||||
V, V2, V3 = linVerb ;
|
||||
VP = linVP linVF ;
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ concrete PhraseKor of Phrase = CatKor ** open Prelude, ResKor in {
|
||||
UttIP ip = {s = ip.s ! Bare} ;
|
||||
|
||||
UttNP np = {s = np.s ! Bare} ;
|
||||
UttVP vp = {s = linVP vp} ;
|
||||
UttVP vp = {s = linVP linVF vp} ;
|
||||
UttCN cn = {s = cn.rs ++ cn.s ! Bare} ;
|
||||
UttCard n = {s = n.s ! NK ! Indep} ;
|
||||
UttAP ap = { s = ap.compar ++ ap.s ! VF Plain Pos} ;
|
||||
|
||||
@@ -372,6 +372,6 @@ oper
|
||||
-- linrefs
|
||||
|
||||
linVerb : Verb -> Str = \v -> v.s ! linVF ;
|
||||
linVP : VerbPhrase -> Str = \vp -> vp.nObj ++ vp.adv ++ vp.s ! linVF ;
|
||||
linVP : VForm -> VerbPhrase -> Str = \vf,vp -> vp.nObj ++ vp.adv ++ vp.s ! vf ;
|
||||
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ lin
|
||||
-- EmbedQS qs = { } ;
|
||||
|
||||
-- : VP -> SC ;
|
||||
EmbedVP vp = {s = vp.s ! VAttr Pos ++ "것이"} ;
|
||||
EmbedVP vp = {s = linVP (VAttr Pos) vp ++ "것이"} ;
|
||||
|
||||
--2 Sentences
|
||||
|
||||
|
||||
Reference in New Issue
Block a user