From e89fdae2fa1626348d8025824a7469252fa85e42 Mon Sep 17 00:00:00 2001 From: aarne Date: Mon, 22 Jun 2009 15:39:08 +0000 Subject: next-lib renamed to lib, lib to old-lib --- next-lib/src/romance/SentenceRomance.gf | 76 --------------------------------- 1 file changed, 76 deletions(-) delete mode 100644 next-lib/src/romance/SentenceRomance.gf (limited to 'next-lib/src/romance/SentenceRomance.gf') diff --git a/next-lib/src/romance/SentenceRomance.gf b/next-lib/src/romance/SentenceRomance.gf deleted file mode 100644 index beb393df8..000000000 --- a/next-lib/src/romance/SentenceRomance.gf +++ /dev/null @@ -1,76 +0,0 @@ -incomplete concrete SentenceRomance of Sentence = - CatRomance ** open Prelude, CommonRomance, ResRomance in { - - flags optimize=all_subs ; - - lin - PredVP np vp = mkClause (np.s ! Nom).comp np.hasClit np.a vp ; - - PredSCVP sc vp = mkClause sc.s False (agrP3 Masc Sg) vp ; - - ImpVP vpr = let vp = useVP vpr in { - s = \\p,i,g => case i of { - ImpF n b => (mkImperative b P2 vp).s ! p ! (aagr g n) - } - } ; - - SlashVP np v2 = - -- agreement decided afterwards: la fille qu'il a trouvée - {s = \\ag => - let - vp = v2 -----e vp = case of { ----- => insertAgr ag v2 ; ----- _ => v2 -----e } - in (mkClause (np.s ! Nom).comp np.hasClit np.a vp).s ; - c2 = v2.c2 - } ; - - AdvSlash slash adv = { - s = \\ag,d,t,a,b,m => slash.s ! ag ! d ! t ! a ! b ! m ++ adv.s ; - c2 = slash.c2 - } ; - - SlashPrep cl prep = { - s = \\_ => cl.s ; - c2 = {s = prep.s ; c = prep.c ; isDir = False} - } ; - - SlashVS np vs slash = - {s = \\ag => - (mkClause - (np.s ! Nom).comp np.hasClit np.a - (insertExtrapos (\\b => conjThat ++ slash.s ! ag ! (vs.m ! b)) - (predV vs)) - ).s ; - c2 = slash.c2 - } ; - - EmbedS s = {s = conjThat ++ s.s ! Indic} ; --- mood - EmbedQS qs = {s = qs.s ! QIndir} ; - EmbedVP vp = {s = infVP vp (agrP3 Masc Sg)} ; --- agr ---- compl - - UseCl t p cl = { - s = \\o => t.s ++ p.s ++ cl.s ! DDir ! t.t ! t.a ! p.p ! o - } ; - UseQCl t p cl = { - s = \\q => t.s ++ p.s ++ cl.s ! t.t ! t.a ! p.p ! q - } ; - UseRCl t p cl = { - s = \\r,ag => t.s ++ p.s ++ cl.s ! ag ! t.t ! t.a ! p.p ! r ; - c = cl.c - } ; - UseSlash t p cl = { - s = \\ag,mo => - t.s ++ p.s ++ cl.s ! ag ! DDir ! t.t ! t.a ! p.p ! mo ; - c2 = cl.c2 - } ; - - AdvS a s = {s = \\o => a.s ++ "," ++ s.s ! o} ; - - RelS s r = { - s = \\o => s.s ! o ++ "," ++ partQIndir ++ r.s ! Indic ! agrP3 Masc Sg - } ; - -} -- cgit v1.2.3