From 2ef7fed0d217d97441795eefb5f06c8d2db6065c Mon Sep 17 00:00:00 2001 From: David Bamutura Date: Tue, 27 Oct 2020 00:20:51 +0300 Subject: [PATCH] =there is a bug with CompNP because we cannot fix Number agreement for the Noun. A hack can be to include the Noun info into the nounphrase --- src/rukiga/LexiconCgg.gf | 2 +- src/rukiga/SentenceCgg.gf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rukiga/LexiconCgg.gf b/src/rukiga/LexiconCgg.gf index 08b1f2c1b..a7e03527c 100755 --- a/src/rukiga/LexiconCgg.gf +++ b/src/rukiga/LexiconCgg.gf @@ -161,7 +161,7 @@ lin television_N = mkN "TV" N_N; doctor_N = mkN "omushaho" MU_BA; clever_A =mkAdjective "amagyezi" Post False True False; - laugh_V = mkV "sheka"; + laugh_V = mkV "shek"; beautiful_A = mkAdjective "rungi" Post False False False; airplane_N = mkN "endegye" N_N; year_N = mkN "omwaka" "emyaka" MU_MI; diff --git a/src/rukiga/SentenceCgg.gf b/src/rukiga/SentenceCgg.gf index 93703dc33..e63ab5bf1 100755 --- a/src/rukiga/SentenceCgg.gf +++ b/src/rukiga/SentenceCgg.gf @@ -51,9 +51,9 @@ lin }; {-Note: when I use pol.s instead of ti, the word alignment instead becomes worse-} => case cl.isPerfBlank of { - True => {s = subj ++ "ti" ++ Predef.BIND ++ clitic ++ Predef.BIND ++ "ra" ++ + True => {s = subj ++ "ta" ++ Predef.BIND ++ clitic ++ Predef.BIND ++ "ra" ++ Predef.BIND ++ root ++ Predef.BIND ++ "ire" ++ compl}; - False => {s = subj ++ "ti" ++ Predef.BIND ++ clitic ++ "ra" ++ Predef.BIND ++ + False => {s = subj ++ "ta" ++ Predef.BIND ++ clitic ++ "ra" ++ Predef.BIND ++ root ++ Predef.BIND ++ pastRestOfVerb ++ compl} };