From 8fe4fd736229a2409fe6081f52af6c201350d879 Mon Sep 17 00:00:00 2001 From: Inari Listenmaa Date: Fri, 28 Jun 2019 17:55:04 +0200 Subject: [PATCH] (Som) Add conditional --- src/somali/ResSom.gf | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/somali/ResSom.gf b/src/somali/ResSom.gf index ff01bb46..275198a0 100644 --- a/src/somali/ResSom.gf +++ b/src/somali/ResSom.gf @@ -709,11 +709,11 @@ oper => {fin = presV vp ; inf = [] } ; => {fin = presV copula ; inf = vp.s ! VInf } ; ---- just guessing => {fin = pastV vp ; inf = [] } ; - => {fin = pastV (aux "jir" vp) ; inf = []} ; - => {fin = presV (aux "doon" vp) ; inf = []} ; - => {fin = pastV (aux "doon" vp) ; inf = []} ; - <_,Simul> => {fin = presV vp ; inf = []} ; -- TODO conditional - <_,Anter> => {fin = pastV vp ; inf = []} -- TODO conditional + => {fin = pastV (cSug "jir") ; inf = vp.s ! VInf} ; + => {fin = presV (cSug "doon") ; inf = vp.s ! VInf} ; + => {fin = pastV (cSug "doon") ; inf = vp.s ! VInf} ; + => {fin = presV have_V ; inf = vp.s ! VInf} ; -- TODO check + => {fin = pastV have_V ; inf = vp.s ! VInf} -- TODO check } where { pastV : Verb -> Str = \v -> @@ -721,9 +721,6 @@ oper Pos => v.s ! VPast Simple agr } ; presV : Verb -> Str = \v -> v.s ! VPres Simple agr p ; - - aux : Str -> Verb -> Verb = \jir,v -> - let jir : Verb = cSug jir in {s = \\vf => v.s ! VInf ++ jir.s ! vf} } ; stmarker : Agreement => Polarity => Str = \\a,b =>