From 561bf721d13490f81e7f13d8a1bb3d1d7134ff1e Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Sun, 10 Jun 2018 07:15:25 +0200 Subject: [PATCH] fix the aorist for the copula --- src/bulgarian/IdiomBul.gf | 2 +- src/bulgarian/ResBul.gf | 30 +++++++++++++++++++++--------- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/src/bulgarian/IdiomBul.gf b/src/bulgarian/IdiomBul.gf index 64ba385ac..31351500a 100644 --- a/src/bulgarian/IdiomBul.gf +++ b/src/bulgarian/IdiomBul.gf @@ -33,7 +33,7 @@ concrete IdiomBul of Idiom = CatBul ** open Prelude, ParadigmsBul, ResBul in { auxPres = auxBe ! VPres (numGenNum agr.gn) agr.p ; auxAorist = auxBe ! VAorist (numGenNum agr.gn) agr.p ; - auxCondS = auxWould ! VAorist (numGenNum agr.gn) agr.p ; + auxCondS = auxCond ! numGenNum agr.gn ! agr.p ; v : {aux1:Str; aux2:Str; main:Str} = case of { diff --git a/src/bulgarian/ResBul.gf b/src/bulgarian/ResBul.gf index c4a5c55e5..08d2cd649 100644 --- a/src/bulgarian/ResBul.gf +++ b/src/bulgarian/ResBul.gf @@ -338,11 +338,11 @@ resource ResBul = ParamX ** open Prelude, Predef in { VPres Pl P1 => "бъдем" ; VPres Pl P2 => "бъдете" ; VPres Pl P3 => "бъдат" ; - VAorist Sg P1 => "бих" ; - VAorist Sg _ => "би" ; - VAorist Pl P1 => "бихме" ; - VAorist Pl P2 => "бихте" ; - VAorist Pl P3 => "биха" ; + VAorist Sg P1 => "бях" ; + VAorist Sg _ => "беше" ; + VAorist Pl P1 => "бяхме" ; + VAorist Pl P2 => "бяхте" ; + VAorist Pl P3 => "бяха" ; VImperfect Sg P1 => "бъдех" ; VImperfect Sg _ => "бъдеше" ; VImperfect Pl P1 => "бъдехме" ; @@ -358,8 +358,20 @@ resource ResBul = ParamX ** open Prelude, Predef in { VGerund => "бъдейки" } ; - verbBe : Verb = {s=\\_=>auxBe ; vtype=VNormal} ; - verbWould : Verb = {s=\\_=>auxWould ; vtype=VNormal} ; + auxCond : Number => Person => Str = + table { + Sg => table { + P1 => "бих" ; + _ => "би" + } ; + Pl => table { + P1 => "бихме" ; + P2 => "бихте" ; + P3 => "биха" + } + } ; + + verbBe : Verb = {s=table Aspect [auxBe; auxWould] ; vtype=VNormal} ; reflClitics : Case => Str = table {Acc => "се"; Dat => "си"; WithPrep => with_Word ++ "себе си"} ; @@ -483,7 +495,7 @@ resource ResBul = ParamX ** open Prelude, Predef in { auxPres = auxBe ! VPres (numGenNum clitic.agr.gn) clitic.agr.p ; auxAorist = auxBe ! VAorist (numGenNum clitic.agr.gn) clitic.agr.p ; - auxCond = auxWould ! VAorist (numGenNum clitic.agr.gn) clitic.agr.p ; + auxCondS = auxCond ! numGenNum clitic.agr.gn ! clitic.agr.p ; apc : Str -> Str = \s -> case of { @@ -533,7 +545,7 @@ resource ResBul = ParamX ** open Prelude, Predef in { => {aux=vf4 auxAorist; main=perfect} ; --# notpresent => {aux=vf3 clitic.s; main=present} ; --# notpresent => {aux=vf3 (apc []); main=perfect} ; --# notpresent - => {aux=vf4 auxCond ; main=perfect} --# notpresent + => {aux=vf4 auxCondS; main=perfect} --# notpresent } in verb.ad.s ++ li0 ++ verbs.aux.s1 ++ verbs.main ++ verbs.aux.s2 ;