summaryrefslogtreecommitdiff
path: root/examples/godis-tram/Common/GodisUserEng.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2006-11-08 15:08:09 +0000
committeraarne <aarne@cs.chalmers.se>2006-11-08 15:08:09 +0000
commiteb3d750459c5ab6fd0fa2266175e1ad4a4e3d33f (patch)
tree8171f7d4ed14c9821a508a6471ee8733fdc7808f /examples/godis-tram/Common/GodisUserEng.gf
parent1fd01130157b81d1b8f4e334f93efa25acf0ecc3 (diff)
godis tram grammars, augmented with Fin
Diffstat (limited to 'examples/godis-tram/Common/GodisUserEng.gf')
-rw-r--r--examples/godis-tram/Common/GodisUserEng.gf32
1 files changed, 32 insertions, 0 deletions
diff --git a/examples/godis-tram/Common/GodisUserEng.gf b/examples/godis-tram/Common/GodisUserEng.gf
new file mode 100644
index 000000000..62e3b326c
--- /dev/null
+++ b/examples/godis-tram/Common/GodisUserEng.gf
@@ -0,0 +1,32 @@
+--# -path=.:prelude:resource-1.0/abstract:resource-1.0/common:resource-1.0/english
+
+concrete GodisUserEng of GodisUser =
+ GodisUserI with (GodisLang = GodisLangEng);
+
+
+-- open Prelude, GodisLangEng in {
+
+-- lincat
+
+-- S = SS;
+
+-- Question = UserQuestion;
+-- Action = UserAction;
+-- Answer = UserAnswer;
+-- ShortAns = UserShortAns;
+
+
+-- lin
+
+-- greet_S = ss ["hello"];
+-- quit_S = variants{ ss ["goodbye"]; ss ["quit"] };
+
+-- no_S = ss ["no"];
+-- yes_S = ss ["yes"];
+
+-- request_S x = x;
+-- answer_S x = x;
+-- ask_S x = x;
+-- shortans_S x = x;
+
+-- }