From f32e49ca92959a5223c96470df5cbf7cb18ea3ac Mon Sep 17 00:00:00 2001 From: Inari Listenmaa Date: Fri, 4 Jan 2019 13:39:58 +0200 Subject: [PATCH] (Ara) Fix bug in ImpersCl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ImpersCl (VP -> Cl) used to check whether the VP is predicative, and in the positive case, force the dummy subject to not be a pronoun. This has been wrong since the time I changed prodrop rules in PredVP. The error that followed manifested when the Cl was put in subordinate position: the subject pronoun did not attach to the conjunction. An example follows. Lang: SubjS that_Subj (UseCl (TTAnt TPres ASimul) PPos (ImpersCl (UseComp (CompNP (DetCN (DetQuant IndefArt NumSg) (UseN girl_N)))))) LangEng: that it is a girl Old LangAra: أنَّ ها بِنتٌ (wrong) New LangAra: أنَّ &+ ها بِنتٌ (correct) --- src/arabic/IdiomAra.gf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/arabic/IdiomAra.gf b/src/arabic/IdiomAra.gf index a7a058b9..ebd04cd0 100644 --- a/src/arabic/IdiomAra.gf +++ b/src/arabic/IdiomAra.gf @@ -9,10 +9,10 @@ concrete IdiomAra of Idiom = CatAra ** open lin -- : VP -> Cl ; -- it is hot - ImpersCl vp = - let it : ResAra.NP = case vp.isPred of { - True => pron2np (gn2pron vp.obj.a.gn) ; - False => gn2pron vp.obj.a.gn } ; -- if no obj, Per3 Masc Sg chosen by default + -- "it is a girl" becomes "she is a girl"; + -- "it is twins" becomes "they are twins". + ImpersCl vp = -- if no obj, default Per3 Masc Sg + let it : ResAra.NP = gn2pron vp.obj.a.gn ; in predVP it vp ; -- : VP -> Cl ; -- one sleeps