forked from GitHub/gf-rgl
added functions to Ron and Chi needed for YAQL
This commit is contained in:
@@ -105,10 +105,10 @@ oper
|
|||||||
= ATManner ;
|
= ATManner ;
|
||||||
|
|
||||||
mkPrep = overload { ---- is this the right order of the fields?
|
mkPrep = overload { ---- is this the right order of the fields?
|
||||||
mkPrep : Str -> Preposition
|
mkPrep : Str -> Prep
|
||||||
= \s -> ResChi.mkPreposition [] s ;
|
= \s -> lin Prep (ResChi.mkPreposition [] s) ;
|
||||||
mkPrep : Str -> Str -> Preposition
|
mkPrep : Str -> Str -> Prep
|
||||||
= \s,t -> ResChi.mkPreposition s t ;
|
= \s,t -> lin Prep (ResChi.mkPreposition s t) ;
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
emptyPrep : Preposition = mkPrep [] ;
|
emptyPrep : Preposition = mkPrep [] ;
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ concrete VerbChi of Verb = CatChi ** open ResChi, Prelude in {
|
|||||||
} ;
|
} ;
|
||||||
|
|
||||||
UseComp comp = comp ;
|
UseComp comp = comp ;
|
||||||
|
UseCopula = predV copula ;
|
||||||
|
|
||||||
SlashVV v vp = ---- too simple?
|
SlashVV v vp = ---- too simple?
|
||||||
insertObj (mkNP (infVP vp)) (predV v) ** {c2 = vp.c2 ; isPre = vp.isPre} ;
|
insertObj (mkNP (infVP vp)) (predV v) ** {c2 = vp.c2 ; isPre = vp.isPre} ;
|
||||||
@@ -59,5 +60,7 @@ concrete VerbChi of Verb = CatChi ** open ResChi, Prelude in {
|
|||||||
|
|
||||||
CompAdv adv = insertObj adv (predV zai_V) ;
|
CompAdv adv = insertObj adv (predV zai_V) ;
|
||||||
|
|
||||||
|
VPSlashPrep vp prep = vp ** {c2 = prep ; isPre = True} ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -166,6 +166,7 @@ concrete VerbRon of Verb =
|
|||||||
|
|
||||||
|
|
||||||
UseComp comp = insertSimpObj comp.s copula ;
|
UseComp comp = insertSimpObj comp.s copula ;
|
||||||
|
UseCopula = copula ;
|
||||||
|
|
||||||
CompAP ap = {s = \\ag => ap.s ! AF ag.g ag.n Indef ANomAcc} ;
|
CompAP ap = {s = \\ag => ap.s ! AF ag.g ag.n Indef ANomAcc} ;
|
||||||
CompCN cn = { s = \\ag => cn.s ! ag.n ! Indef ! ANomAcc }; --- RE 7/12/2010
|
CompCN cn = { s = \\ag => cn.s ! ag.n ! Indef ! ANomAcc }; --- RE 7/12/2010
|
||||||
@@ -178,7 +179,7 @@ concrete VerbRon of Verb =
|
|||||||
|
|
||||||
PassV2 v = insertSimpObj (\\a => v.s ! PPasse a.g a.n Indef ANomAcc) auxPassive ** {lock_VP = <>};
|
PassV2 v = insertSimpObj (\\a => v.s ! PPasse a.g a.n Indef ANomAcc) auxPassive ** {lock_VP = <>};
|
||||||
|
|
||||||
|
VPSlashPrep vp prep = vp ** {c2 = prep ; needAgr = False; needClit = True} ; ---- AR
|
||||||
|
|
||||||
oper auxPassive = copula ;
|
oper auxPassive = copula ;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user