mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 08:32:50 -06:00
completed extensions for Bulgarian
This commit is contained in:
@@ -60,6 +60,11 @@ lin
|
|||||||
p = Pos
|
p = Pos
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
GerundAdv vp =
|
||||||
|
{s = vp.ad.s ++
|
||||||
|
vp.s ! Imperf ! VGerund ++
|
||||||
|
vp.compl ! {gn=GSg Neut; p=P3}} ;
|
||||||
|
|
||||||
PresPartAP vp =
|
PresPartAP vp =
|
||||||
let ap : AForm => Str
|
let ap : AForm => Str
|
||||||
= \\aform => vp.ad.s ++
|
= \\aform => vp.ad.s ++
|
||||||
@@ -94,7 +99,10 @@ lin
|
|||||||
vp.compl ! {gn=GSg Neut; p=P3}} ;
|
vp.compl ! {gn=GSg Neut; p=P3}} ;
|
||||||
|
|
||||||
InOrderToVP vp =
|
InOrderToVP vp =
|
||||||
{s = "за" ++ daComplex Simul Pos vp ! Imperf ! {gn=GSg Neut; p=P3}};
|
{s = "за" ++ daComplex Simul Pos (vp**{vtype=VMedial Acc}) ! Imperf ! {gn=GSg Neut; p=P3}};
|
||||||
|
|
||||||
|
WithoutVP vp =
|
||||||
|
{s = "без" ++ daComplex Simul Pos (vp**{vtype=VMedial Acc}) ! Imperf ! {gn=GSg Neut; p=P3}};
|
||||||
|
|
||||||
PositAdVAdj a = {s = a.adv} ;
|
PositAdVAdj a = {s = a.adv} ;
|
||||||
|
|
||||||
@@ -152,23 +160,6 @@ lin
|
|||||||
}) vp.p
|
}) vp.p
|
||||||
(predV vv) ;
|
(predV vv) ;
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
||||||
} ;
|
|
||||||
|
|
||||||
CompS s = {s = \\_ => "че" ++ s.s; p = Pos} ;
|
CompS s = {s = \\_ => "че" ++ s.s; p = Pos} ;
|
||||||
CompQS qs = {s = \\_ => qs.s ! QIndir; p = Pos} ;
|
CompQS qs = {s = \\_ => qs.s ! QIndir; p = Pos} ;
|
||||||
CompVP ant p vp = {s = let p' = case vp.p of {
|
CompVP ant p vp = {s = let p' = case vp.p of {
|
||||||
|
|||||||
@@ -27,8 +27,8 @@ concrete TranslateBul of Translate =
|
|||||||
ExtensionsBul [
|
ExtensionsBul [
|
||||||
CompoundN,AdAdV,UttAdV,ApposNP,MkVPI, MkVPS, PredVPS, PassVPSlash, PassAgentVPSlash, CompoundAP,
|
CompoundN,AdAdV,UttAdV,ApposNP,MkVPI, MkVPS, PredVPS, PassVPSlash, PassAgentVPSlash, CompoundAP,
|
||||||
DirectComplVS, DirectComplVQ, FocusObjS,
|
DirectComplVS, DirectComplVQ, FocusObjS,
|
||||||
PastPartAP, PastPartAgentAP, PresPartAP, GerundNP,
|
PastPartAP, PastPartAgentAP, PresPartAP, GerundNP, GerundAdv,
|
||||||
InOrderToVP, ByVP
|
WithoutVP, InOrderToVP, ByVP
|
||||||
],
|
],
|
||||||
|
|
||||||
DictionaryBul **
|
DictionaryBul **
|
||||||
|
|||||||
Reference in New Issue
Block a user