summaryrefslogtreecommitdiff
path: root/examples/SUMO/BasicEng.gf
diff options
context:
space:
mode:
authorra.monique <ra.monique@gmail.com>2010-11-28 19:38:56 +0000
committerra.monique <ra.monique@gmail.com>2010-11-28 19:38:56 +0000
commit667e7e67d3b9f4808fab3d46a83e110e61b1edec (patch)
treea0236c9290756b72a1b2dfdd116587dd4835e725 /examples/SUMO/BasicEng.gf
parent8e6421a03e564d4c5cee6ef68867ea6ec7f76268 (diff)
fixed SUMOEng with open instead of import for the Extension module
Diffstat (limited to 'examples/SUMO/BasicEng.gf')
-rw-r--r--examples/SUMO/BasicEng.gf24
1 files changed, 12 insertions, 12 deletions
diff --git a/examples/SUMO/BasicEng.gf b/examples/SUMO/BasicEng.gf
index 311a2cf47..01b9617d9 100644
--- a/examples/SUMO/BasicEng.gf
+++ b/examples/SUMO/BasicEng.gf
@@ -1,30 +1,30 @@
--# -path=.:englishExtended:abstract:common:
-concrete BasicEng of Basic = CatEng - [Text] ** open DictLangEng, DictEng, ParadigmsEng, ResEng, Coordination, Prelude, ParamBasic, NounEng in {
+concrete BasicEng of Basic = open CatEng, ExtensionEng, DictLangEng, DictEng, ParadigmsEng, ResEng, Coordination, Prelude, ParamBasic, ConjunctionEng, NounEng in {
lincat
- Class = CN ;
- El = NP ;
- Ind = NP ;
- Var = PN ;
+ Class = CatEng.CN ;
+ El = CatEng.NP ;
+ Ind = CatEng.NP ;
+ Var = CatEng.PN ;
SubClass = {} ;
Inherits = {} ;
- Desc = CN ;
- Formula = PolSentence;
- [El] = [NP];
- [Class] = [CN];
- Stmt = StmtS ;
+ Desc = CatEng.CN ;
+ Formula = ExtensionEng.PolSentence;
+ [El] = ConjunctionEng.ListNP;
+ [Class] =ExtensionEng.ListCN ;
+ Stmt = ExtensionEng.StmtS ;
lin
BaseClass = {s1,s2 = \\_,_ => "";
g = Neutr;
lock_ListCN=<>};
- ConsClass xs x = ConsCN xs x ;
+ ConsClass xs x = ExtensionEng.ConsCN xs x ;
BaseEl c = {s1,s2 = \\_ => "";
a = agrP3 Sg;
lock_ListNP=<>};
- ConsEl c xs x = ConsNP xs x ;
+ ConsEl c xs x = ConjunctionEng.ConsNP xs x ;
and f1 f2 = {s = \\f,c => f1.s ! Indep ! c ++ "and" ++ f2.s ! Indep ! c; flag = NothingS; lock_PolSentence = <>};
or f1 f2 = {s = \\f,c => f1.s ! Indep ! c ++ "or" ++ f2.s ! Indep ! c; flag = NothingS; lock_PolSentence = <>};