From b18890896950b50f9917bcd1720fc71b4ce6e534 Mon Sep 17 00:00:00 2001 From: Inari Listenmaa Date: Wed, 25 Sep 2019 16:50:33 +0200 Subject: [PATCH] (Som) Updates to some unit tests --- src/somali/unittest/inflection.gftest | 4 ++-- src/somali/unittest/qcl.gftest | 12 +++++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/somali/unittest/inflection.gftest b/src/somali/unittest/inflection.gftest index 69b9be7ce..9f544c856 100644 --- a/src/somali/unittest/inflection.gftest +++ b/src/somali/unittest/inflection.gftest @@ -41,8 +41,8 @@ LangSom: ma sugo -- Interrogative 1: TODO -- LangEng: does he/she/it wait (for him/her/it) --- Lang: PhrUtt NoPConj (UttQS (UseQCl (TTAnt TPres ASimul) PNeg (QuestCl (PredVP (UsePron it_Pron) (ComplSlash (SlashV2a wait_V2) (UsePron it_Pron)))))) NoVoc --- LangSom: ma sugaa +Lang: PhrUtt NoPConj (UttQS (UseQCl (TTAnt TPres ASimul) PNeg (QuestCl (PredVP (UsePron it_Pron) (ComplSlash (SlashV2a wait_V2) (UsePron it_Pron)))))) NoVoc +LangSom: ma aan sugo -- LangEng: why doesn't it wait for it Lang: PhrUtt NoPConj (UttQS (UseQCl (TTAnt TPres ASimul) PNeg (QuestIAdv why_IAdv (PredVP (UsePron it_Pron) (ComplSlash (SlashV2a wait_V2) (UsePron it_Pron)))))) NoVoc diff --git a/src/somali/unittest/qcl.gftest b/src/somali/unittest/qcl.gftest index 0091209ba..10d16b155 100644 --- a/src/somali/unittest/qcl.gftest +++ b/src/somali/unittest/qcl.gftest @@ -1,6 +1,16 @@ -- Question clauses +-- Polar questions +-- LangEng: do you teach the cat +Lang: PhrUtt NoPConj (UttQS (UseQCl (TTAnt TPres ASimul) PPos (QuestCl (PredVP (UsePron youSg_Pron) (ComplSlash (SlashV2a teach_V2) (DetCN (DetQuant DefArt NumSg) (UseN cat_N))))))) NoVoc +LangSom: ma ku bartaa bisad BIND da + +-- LangEng: don't you teach the cat +Lang: PhrUtt NoPConj (UttQS (UseQCl (TTAnt TPres ASimul) PNeg (QuestCl (PredVP (UsePron youSg_Pron) (ComplSlash (SlashV2a teach_V2) (DetCN (DetQuant DefArt NumSg) (UseN cat_N))))))) NoVoc +LangSom: miyaanad ku barto bisad BIND da + +-- Wh-questions -- LangEng: who wants to go -- subject pronoun not included, because who is a subject. STM merged to pron. LangSom: yaa rabaa in uu tago @@ -31,7 +41,7 @@ Lang: PhrUtt NoPConj (UttQS (UseQCl (TTAnt TPast ASimul) PPos (QuestIAdv where_I LangSom: maxaa aad u tagtay Lang: PhrUtt NoPConj (UttQS (UseQCl (TTAnt TPast ASimul) PPos (QuestIAdv why_IAdv (PredVP (UsePron youSg_Pron) (UseV go_V))))) NoVoc --- Negative question -- TODO not implemented yet properly. Saeed p. 203 +-- Negative wh-question, Saeed p. 203 -- LangEng: why didn't you go LangSom: maxaa aad u tagi weydey Lang: PhrUtt NoPConj (UttQS (UseQCl (TTAnt TPast ASimul) PNeg (QuestIAdv why_IAdv (PredVP (UsePron youSg_Pron) (UseV go_V))))) NoVoc