forked from GitHub/gf-core
DictEngBul is extended to 5000 words and there are few more functions in ParseEngBul
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -31,7 +31,11 @@ lin
|
||||
} ;
|
||||
|
||||
GerundAP v = {
|
||||
s = \\aform => v.s ! Imperf ! VPresPart aform ;
|
||||
s = \\aform => v.s ! Imperf ! VPresPart aform ++
|
||||
case v.vtype of {
|
||||
VMedial c => reflClitics ! c;
|
||||
_ => []
|
||||
};
|
||||
adv = v.s ! Imperf ! VPresPart (ASg Neut Indef);
|
||||
isPre = True
|
||||
} ;
|
||||
@@ -65,4 +69,26 @@ lin
|
||||
SlashV2V vv p vp =
|
||||
insertSlashObj2 (daComplex vp ! Perf) (slashV vv vv.c2) ;
|
||||
|
||||
PredVPosv np vp = {
|
||||
s = \\t,a,p,o =>
|
||||
let
|
||||
subj = np.s ! (case vp.vtype of {
|
||||
VNormal => RSubj ;
|
||||
VMedial _ => RSubj ;
|
||||
VPhrasal c => RObj c}) ;
|
||||
verb : Bool => Str
|
||||
= \\q => vpTenses vp ! t ! a ! p ! np.a ! q ! Perf ;
|
||||
compl = vp.compl ! np.a
|
||||
in case o of {
|
||||
Main => compl ++ subj ++ verb ! False ;
|
||||
Inv => verb ! False ++ compl ++ subj ;
|
||||
Quest => compl ++ subj ++ verb ! True
|
||||
}
|
||||
} ;
|
||||
|
||||
PassVS vs vp =
|
||||
insertObj (\\a => vs.s ! Perf ! VPassive (aform a.gn Indef (RObj Acc))
|
||||
++ daComplex vp ! Perf ! a)
|
||||
(predV verbBe) ;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user