From f5461eb3d4eb2605b546a4ed202c12bcdaa1f4e4 Mon Sep 17 00:00:00 2001 From: "john.j.camilleri" Date: Mon, 16 Sep 2013 07:17:27 +0000 Subject: Remove contribs and examples Everything has now been moved to a separate repository at https://github.com/GrammaticalFramework/gf-contrib The contents of the examples folder are build during SetupWeb --- examples/SUMO/RGLExt/ExtensionEng.gf | 62 ------------------------------------ 1 file changed, 62 deletions(-) delete mode 100644 examples/SUMO/RGLExt/ExtensionEng.gf (limited to 'examples/SUMO/RGLExt/ExtensionEng.gf') diff --git a/examples/SUMO/RGLExt/ExtensionEng.gf b/examples/SUMO/RGLExt/ExtensionEng.gf deleted file mode 100644 index 4c4213cfd..000000000 --- a/examples/SUMO/RGLExt/ExtensionEng.gf +++ /dev/null @@ -1,62 +0,0 @@ ---# -path=.:RGLExt:alltenses:../../lib/src/english - -concrete ExtensionEng of Extension = CatEng ** open MorphoEng, ResEng, ConjunctionEng, StructuralEng, Prelude, ParadigmsEng, Coordination, ParamBasic in { - - -lincat - PolSentence = {s : SentForm => CPolarity => Str ; flag : Flag}; - [CN] = {s1,s2 : Number => ResEng.Case => Str ; g : Gender} ; - StmtS = {s : Str}; - -lin -VerbToNounV2 vs = VerbToNoun vs ** {c2 = vs.c2; lock_N2=<>}; - -VerbToNoun v = {s = \\_,_ => v.s ! VPresPart; - g = Masc; lock_N=<>}; - -VerbToGerundA v = {s = \\_ => v.s ! VPresPart; lock_A=<>}; - -VerbToParticipeA v = {s = \\_ => v.s ! VPPart; lock_A=<>}; - -mkPolSent cl = {s = \\f,b => case b of - {CPos => cl.s ! Pres ! Simul ! CPos ! ODir; - _ => cl.s ! Pres ! Simul ! CNeg False ! ODir}; - flag = NothingS ; - lock_PolSentence = <>}; - -getSent psel = {s = psel.s ! Indep ! CPos} ; - -sentToNoun ps = {s = \\_ => "\"" ++ ps.s ! Indep ! CPos ++ "\""; - a = agrP3 Sg; lock_NP=<>}; - -ConjCN conj ss = conjunctDistrTable2 Number ResEng.Case conj ss ** {g = ss.g;lock_CN=<>}; - -BaseCN x y ={s1 = \\n,c => x.s ! n ! c ; - s2 = \\n,c => y.s ! n ! c ; - g = x.g} ; - -ConsCN xs x = consrTable2 Number ResEng.Case comma xs x ** {g = Masc} ; - - -UsePolSentence p ps = {s = ps.s ! Indep ! p.p}; - -at_Prep = mkPrep "at" ; -per_Prep = mkPrep "per" ; - -O1 = {s = \\_ => "o1" ; - a = agrP3 Sg}**{lock_NP=<>}; - -O2 = {s = \\_ => "o2" ; - a = agrP3 Sg}**{lock_NP=<>}; - -O3 = {s = \\_ => "o3" ; - a = agrP3 Sg}**{lock_NP=<>}; - -O4 = {s = \\_ => "o4" ; - a = agrP3 Sg}**{lock_NP=<>}; - -O5 = {s = \\_ => "o5" ; - a = agrP3 Sg}**{lock_NP=<>}; - - -} -- cgit v1.2.3