From 67380fa39813b954e468cbc62f6c8e780fdd99d0 Mon Sep 17 00:00:00 2001 From: Nikita Frolov Date: Thu, 27 Dec 2012 21:04:26 +0000 Subject: RG and Phrasebook fixes - added a paradigm for alternative plurals - fixed usage of alternative plurals in Numerals - added a distinction between numerals and posessive pronouns - verb omission and appropriate cases in some uses of to be/to have - fixed declination of personal names - added a gender parameter to pronouns (similar to Polish RG) - vowel insertion before short adjective suffix - don't generate short forms for relative adjectives (might need lexicon update) - minor Phrasebook fixes --- examples/phrasebook/SentencesRus.gf | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'examples/phrasebook/SentencesRus.gf') diff --git a/examples/phrasebook/SentencesRus.gf b/examples/phrasebook/SentencesRus.gf index 67e06d7f1..cdde941e1 100644 --- a/examples/phrasebook/SentencesRus.gf +++ b/examples/phrasebook/SentencesRus.gf @@ -1,9 +1,10 @@ concrete SentencesRus of Sentences = NumeralRus ** SentencesI - [ - NameNN, SHave, SHaveNo, SHaveNoMass, QDoHave, AHaveCurr + NameNN, SHave, SHaveNo, SHaveNoMass, QDoHave, AHaveCurr, + IMale, IFemale, YouFamMale, YouFamFemale, YouPolMale, YouPolFemale ] with (Syntax = SyntaxRus), (Symbolic = SymbolicRus), - (Lexicon = LexiconRus), (Grammar = GrammarRus) ** open Prelude, SyntaxRus, (P = ParadigmsRus) in { + (Lexicon = LexiconRus), (Grammar = GrammarRus) ** open Prelude, SyntaxRus, ExtraRus, (P = ParadigmsRus), (R = ResRus), (M = MorphoRus) in { lin SHave p obj = mkS (mkCl (mkVP have_V3 obj p.name)) ; SHaveNo p obj = mkS (mkCl (mkVP have_not_V3 (mkNP obj) p.name)) ; @@ -12,6 +13,13 @@ concrete SentencesRus of Sentences = NumeralRus ** SentencesI - [ AHaveCurr p curr = mkCl (mkVP have_V3 (mkNP aPl_Det curr) p.name) ; - lin NameNN = mkNP (P.mkN "NN") ; + lin + NameNN = mkNP (P.mkN "NN") ; + IMale = mkPerson (M.pronYa R.Masc) ; + IFemale = mkPerson (M.pronYa R.Fem) ; + YouFamMale = mkPerson (M.pronTu R.Masc) ; + YouFamFemale = mkPerson (M.pronTu R.Fem) ; + YouPolMale = mkPerson (M.pronVu R.Masc) ; + YouPolFemale = mkPerson (M.pronVu R.Fem) ; } \ No newline at end of file -- cgit v1.2.3