mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-30 06:52:49 -06:00
added Ann-Charlotte's grammars
This commit is contained in:
27
grammars/TALK/GF_GoDiS/Domain/SpecResSwe.gf
Normal file
27
grammars/TALK/GF_GoDiS/Domain/SpecResSwe.gf
Normal file
@@ -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 => ""
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user