summaryrefslogtreecommitdiff
path: root/old-lib/resource/english/ExtraEng.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2009-06-22 15:39:08 +0000
committeraarne <aarne@chalmers.se>2009-06-22 15:39:08 +0000
commite89fdae2fa1626348d8025824a7469252fa85e42 (patch)
treec7d46bbd0494043b4bd6f917a25a7687517d0547 /old-lib/resource/english/ExtraEng.gf
parent3049b59b35b25381a7c6787444165c200d66e08b (diff)
next-lib renamed to lib, lib to old-lib
Diffstat (limited to 'old-lib/resource/english/ExtraEng.gf')
-rw-r--r--old-lib/resource/english/ExtraEng.gf53
1 files changed, 53 insertions, 0 deletions
diff --git a/old-lib/resource/english/ExtraEng.gf b/old-lib/resource/english/ExtraEng.gf
new file mode 100644
index 000000000..7f6b3fde3
--- /dev/null
+++ b/old-lib/resource/english/ExtraEng.gf
@@ -0,0 +1,53 @@
+concrete ExtraEng of ExtraEngAbs = CatEng **
+ open ResEng, Coordination, Prelude in {
+
+ lin
+ GenNP np = {s = \\_ => np.s ! Gen} ;
+ ComplBareVS v s = insertObj (\\_ => s.s) (predV v) ;
+
+ StrandRelSlash rp slash = {
+ s = \\t,a,p,ag =>
+ rp.s ! RC (fromAgr ag).g Acc ++ slash.s ! t ! a ! p ! ODir ++ slash.c2 ;
+ c = Acc
+ } ;
+ EmptyRelSlash rp slash = {
+ s = \\t,a,p,_ => slash.s ! t ! a ! p ! ODir ++ slash.c2 ;
+ c = Acc
+ } ;
+
+ StrandQuestSlash ip slash =
+ {s = \\t,a,b,q =>
+ (mkQuestion (ss (ip.s ! Acc)) slash).s ! t ! a ! b ! q ++ slash.c2
+ };
+
+ lincat
+ VPI = {s : VPIForm => Agr => Str} ;
+ [VPI] = {s1,s2 : VPIForm => Agr => Str} ;
+
+ lin
+ BaseVPI = twoTable2 VPIForm Agr ;
+ ConsVPI = consrTable2 VPIForm Agr comma ;
+
+ MkVPI vp = {
+ s = \\v,a => vp.ad ++ vp.inf ++ vp.s2 ! a
+ } ;
+ ConjVPI = conjunctDistrTable2 VPIForm Agr ;
+ ComplVPIVV vv vpi =
+ insertObj (\\a => (if_then_Str vv.isAux [] "to") ++ vpi.s ! VPIInf ! a) (predVV vv) ;
+
+ UncNegCl t a cl = {s = t.s ++ a.s ++ cl.s ! t.t ! a.a ! neg ! ODir} ;
+ UncNegQCl t a cl = {s = \\q => t.s ++ a.s ++ cl.s ! t.t ! a.a ! neg !q} ;
+ UncNegRCl t a cl = {
+ s = \\r => t.s ++ a.s ++ cl.s ! t.t ! a.a ! neg ! r ;
+ c = cl.c
+ } ;
+ UncNegImpSg imp = {s = imp.s ! neg ! ImpF Sg False} ;
+ UncNegImpPl imp = {s = imp.s ! neg ! ImpF Pl False} ;
+
+ CompoundCN a b = {s = \\n,c => a.s ! Sg ! Nom ++ b.s ! n ! c ; g = b.g} ;
+
+
+ oper
+ neg = CNeg False ;
+
+}