From e7fcae8680a7f498937ef6f474c57d12bf1ecd90 Mon Sep 17 00:00:00 2001 From: Paula Date: Thu, 3 Dec 2020 13:59:00 +0100 Subject: [PATCH] Pl reflpron (#363) * Pol: Add it_ReflPron. * Pol: Correct pronRefl. * Pol: Remove pronoun without abstract. * Pol: Add back reflexive poss. pronoun. * Revert "Pol: Add back reflexive poss. pronoun." This reverts commit d24a648405e2021ab71fac0b4e49b6d4c301dad9. --- src/polish/PronounMorphoPol.gf | 61 +++++++++++++++++++++++++++++++++- src/polish/StructuralPol.gf | 1 + 2 files changed, 61 insertions(+), 1 deletion(-) diff --git a/src/polish/PronounMorphoPol.gf b/src/polish/PronounMorphoPol.gf index 336505a1..35f5eaad 100644 --- a/src/polish/PronounMorphoPol.gf +++ b/src/polish/PronounMorphoPol.gf @@ -130,7 +130,8 @@ resource PronounMorphoPol = ResPol ** open Prelude, (Predef=Predef) in { p = P2 ; g = gender }; - + + -- for "you polite" (very idiomatic: pron you = 'sir') male version oper pronPan: Pron = { nom = "pan" ; @@ -213,6 +214,64 @@ resource PronounMorphoPol = ResPol ** open Prelude, (Predef=Predef) in { }; + +-- A loose translation of "its" (reflexive) + oper pronRefl: Pron = pronReflFoo PNoGen; + oper pronReflFoo: PronGen -> Pron = \gender -> + { sp = table { + AF (MascPersSg|MascAniSg|MascInaniSg) Nom => "swój"; + AF (MascPersSg|MascAniSg|MascInaniSg) Gen => "swojego"; + AF (MascPersSg|MascAniSg|MascInaniSg) Dat => "swojemu"; -- zróbmy to po swojemu + AF MascInaniSg Acc => "swój"; + AF (MascPersSg|MascAniSg|MascInaniSg) Acc => "swojego"; + AF (MascPersSg|MascAniSg|MascInaniSg) Instr => "swoim"; + AF (MascPersSg|MascAniSg|MascInaniSg) Loc => "swoim"; + AF (MascPersSg|MascAniSg|MascInaniSg) VocP => "swój"; + + AF FemSg Nom => "swoja" ; + AF FemSg Gen => "swojej"; + AF FemSg Dat => "swojej"; + AF FemSg Acc => "swoją"; + AF FemSg Instr => "swoją"; + AF FemSg Loc => "swojej"; + AF FemSg VocP => "swoja"; + + AF NeutSg Nom => "swoje" ; + AF NeutSg Gen => "swojego"; + AF NeutSg Dat => "swojemu"; + AF NeutSg Acc => "swoje"; + AF NeutSg Instr => "swoim"; + AF NeutSg Loc => "swoim"; + AF NeutSg VocP => "swoje"; + + AF MascPersPl Nom => "swoi"; + AF (MascPersPl|OthersPl) Nom => "swoje"; + AF (MascPersPl|OthersPl) Gen => "swoich"; + AF (MascPersPl|OthersPl) Dat => "swoim"; + AF MascPersPl Acc => "swoich"; + AF (MascPersPl|OthersPl) Acc => "swoje"; + AF (MascPersPl|OthersPl) Instr => "swoimi"; + AF (MascPersPl|OthersPl) Loc => "swoich"; + AF MascPersPl VocP => "swoi"; + AF (MascPersPl|OthersPl) VocP => "swoje" + }; + nom = "ono" ; -- The true nom. and voc. forms will be that of the subject + voc = "ono" ; -- Here, we use the neuter pronoun as a shortcut + dep = table { + GenNoPrep => "się"; + GenPrep => "siebie"; + DatNoPrep => "sobie"; + DatPrep => "sobie"; + AccNoPrep => "się"; + AccPrep => "siebie"; + InstrC => "sobą"; + LocPrep => "sobie" + }; + n = Sg; + p = P2 ; + g = gender + }; + -- for "it", "its" oper pronOno: Pron = { nom = "ono" ; diff --git a/src/polish/StructuralPol.gf b/src/polish/StructuralPol.gf index 08a014ed..cf56adf3 100644 --- a/src/polish/StructuralPol.gf +++ b/src/polish/StructuralPol.gf @@ -57,6 +57,7 @@ lin in8front_Prep = mkPrep "przed" Instr; in_Prep = mkPrep "w" Loc; it_Pron = pronOno; + -- it_ReflPron = pronRefl; -- Use directly in PronounMorphoPol for "swój" as a pronoun/poss. pronoun language_title_Utt = ss "polski"; less_CAdv = {s,sn = "mniej" ; p,pn = "niż" } ; many_Det = wieleDet;