a bunch of additions in the parsing grammars and dictionaries plus an updated statistical model

This commit is contained in:
kr.angelov
2012-11-26 16:43:09 +00:00
parent 7d528dc5b3
commit 6542f6ffdd
11 changed files with 43358 additions and 43334 deletions

View File

@@ -975,6 +975,7 @@ lin almighty_N = variants {};
lin almond_N = variants {};
lin almond_eyed_A = variants {};
lin almoner_N = variants {};
lin almost_AdA = variants {};
lin almost_AdN = ss "почти";
lin almost_Adv = variants {};
lin almost_Predet = variants {};
@@ -19900,6 +19901,7 @@ lin keep_V2 = variants {};
lin keep_to_V2V = variants {};
lin keep_ing_V2V = variants {};
lin keep_VA = variants {};
lin keep_V2A = variants {};
lin keep_VS = variants {};
lin keep_VV = variants {};
lin keeper_N = variants {};
@@ -22478,6 +22480,7 @@ lin mean_A = variants {};
lin mean_N = variants {};
lin mean_V = variants {};
lin mean_V2 = variants {};
lin mean_V2V = variants {};
lin mean_VA = variants {};
lin mean_VV = variants {};
lin mean_VS = variants {};
@@ -32029,11 +32032,9 @@ lin rummage_V = variants {};
lin rummage_V2 = variants {};
lin rummy_A = variants {};
lin rummy_N = variants {};
lin rumor_V2 = variants {};
lin rumor_V2V = variants {};
lin rumor_VS = variants {};
lin rumour_N = mkN001 "слух" ;
lin rumour_V2 = variants {};
lin rumour_V3 = variants {};
lin rumour_monger_N = variants {};
lin rump_N = variants {};
lin rump_steak_N = variants {};
@@ -38348,11 +38349,12 @@ lin thingummy_N = variants {};
lin think_N = variants {};
lin think_V = variants {};
lin think_V2 = variants {};
lin think_VA = variants {};
lin think_V2A = variants {};
lin think_VS = mkVS (stateV (mkV173 "мисля"));
lin think_tank_N = variants {};
lin thinkable_A = variants {};
lin thinker_N = variants {};
lin thinkable_A = mkA076 "мислим";
lin thinkerMasc_N = mkN031a "мислител";
lin thinkerFem_N = mkN041 "мислителка";
lin thinking_A = variants {};
lin thinking_N = variants {};
lin thinness_N = variants {};

View File

@@ -61,12 +61,33 @@ lin
a = {gn = GSg pn.g; p = P3}
} ;
PPartNP np vps = {
s = \\c => np.s ! c ++
vps.s ! Perf ! VPassive (aform np.a.gn Indef c) ++
vps.compl1 ! np.a ++ vps.compl2 ! np.a;
a = np.a
} ;
PastPartRS ant pol vp = {
s = \\agr =>
ant.s ++ pol.s ++
vp.ad.s ++
case pol.p of {Pos => ""; Neg => "не"} ++
case ant.a of {Simul => ""; Anter => auxBe ! VPerfect (aform agr.gn Indef (RObj Acc))} ++
vp.s ! Perf ! VPassive (aform agr.gn Indef (RObj Acc)) ++
case vp.vtype of {
VMedial c => reflClitics ! c;
_ => []
} ++
vp.compl1 ! agr ++ vp.compl2 ! agr ;
} ;
PresPartRS ant pol vp = {
s = \\agr =>
ant.s ++ pol.s ++
vp.ad.s ++
case pol.p of {Pos => ""; Neg => "не"} ++
case ant.a of {Simul => ""; Anter => auxBe ! VPerfect (aform agr.gn Indef (RObj Acc))} ++
vp.s ! Imperf ! VPresPart (aform agr.gn Indef (RObj Acc)) ++
case vp.vtype of {
VMedial c => reflClitics ! c;
_ => []
} ++
vp.compl ! agr ;
} ;
SlashV2V vv ant p vp =
insertSlashObj2 (\\agr => ant.s ++ p.s ++ vv.c3.s ++
@@ -99,13 +120,19 @@ lin
} ;
CompS s = {s = \\_ => "че" ++ s.s} ;
CompQS qs = {s = \\_ => qs.s ! QIndir} ;
CompVP ant p vp = {s = \\agr => ant.s ++ p.s ++
daComplex ant.a p.p vp ! Perf ! agr} ;
PassVS vs vp =
insertObj (\\a => vs.s ! Perf ! VPassive (aform a.gn Indef (RObj Acc))
++ daComplex Simul Pos vp ! Perf ! a)
(predV verbBe) ;
VPSlashVS vs vp =
let vp = insertObj (daComplex Simul Pos vp ! Perf) (predV vs)
in { s = vp.s;
ad = vp.ad;
compl1 = \\_ => "";
compl2 = vp.compl;
vtype = vp.vtype;
c2 = {s=""; c=Acc}
} ;
ApposNP np1 np2 = {
s = \\role => np1.s ! role ++ "," ++ np2.s ! RSubj ;