summaryrefslogtreecommitdiff
path: root/grammars/TALK/GF_GoDiS/Domain/SpecResSwe.gf
diff options
context:
space:
mode:
Diffstat (limited to 'grammars/TALK/GF_GoDiS/Domain/SpecResSwe.gf')
-rw-r--r--grammars/TALK/GF_GoDiS/Domain/SpecResSwe.gf27
1 files changed, 27 insertions, 0 deletions
diff --git a/grammars/TALK/GF_GoDiS/Domain/SpecResSwe.gf b/grammars/TALK/GF_GoDiS/Domain/SpecResSwe.gf
new file mode 100644
index 000000000..8ff0c8807
--- /dev/null
+++ b/grammars/TALK/GF_GoDiS/Domain/SpecResSwe.gf
@@ -0,0 +1,27 @@
+-- A file with Pointers...
+-- With pointers I mean the phrases that point out a specific semantics of a segment.
+-- Example "I want to listen to the artist Sting" where "the artist" makes clear
+-- that "Sting" is an artist and not a song for instance.
+
+resource SpecResSwe = {
+
+param ListInfo = Numeric | Ordered ;
+param ItemChoice = Artist | Song | Post;
+
+oper listForm : ListInfo => Str
+ = table {
+ Numeric => ["nummer"];
+ Ordered => ["den"]
+
+ };
+
+
+oper itemForm : ItemChoice => Str
+ = table {
+ Artist => "artisten";
+ Song => "låten";
+ Post => ""
+ };
+
+}
+