summaryrefslogtreecommitdiff
path: root/grammars/TALK/GF_GoDiS/Core/GenResSwe.gf
diff options
context:
space:
mode:
Diffstat (limited to 'grammars/TALK/GF_GoDiS/Core/GenResSwe.gf')
-rw-r--r--grammars/TALK/GF_GoDiS/Core/GenResSwe.gf26
1 files changed, 26 insertions, 0 deletions
diff --git a/grammars/TALK/GF_GoDiS/Core/GenResSwe.gf b/grammars/TALK/GF_GoDiS/Core/GenResSwe.gf
new file mode 100644
index 000000000..515cbc8df
--- /dev/null
+++ b/grammars/TALK/GF_GoDiS/Core/GenResSwe.gf
@@ -0,0 +1,26 @@
+-- A file with PreReq and PostReq etc...
+
+resource GenResSwe = {
+
+param Form = Ques | Req | ReqNeg;
+
+
+oper choosePre : Form => Str
+ = table {
+ Ques => ["kan jag"];
+ Req => variants{ ["jag vill"] ; ["jag skulle vilja"] };
+ ReqNeg => variants{ ["jag vill inte"] ; ["jag skulle inte vilja"] }
+
+ };
+
+
+oper choosePost : Form => Str
+ = table {
+ Ques => "";
+ Req => "tack";
+ ReqNeg => "tack"
+ };
+
+}
+
+