diff options
| author | john.j.camilleri <john.j.camilleri@chalmers.se> | 2013-09-16 07:17:27 +0000 |
|---|---|---|
| committer | john.j.camilleri <john.j.camilleri@chalmers.se> | 2013-09-16 07:17:27 +0000 |
| commit | f5461eb3d4eb2605b546a4ed202c12bcdaa1f4e4 (patch) | |
| tree | 946c9e8542b8e8271b6b529a95c0400fa6613cb4 /examples/foods/FoodsSpa.gf | |
| parent | 8e1c6cca407c82fc09569d80c231b8d256735989 (diff) | |
Remove contribs and examples
Everything has now been moved to a separate repository at
https://github.com/GrammaticalFramework/gf-contrib
The contents of the examples folder are build during SetupWeb
Diffstat (limited to 'examples/foods/FoodsSpa.gf')
| -rw-r--r-- | examples/foods/FoodsSpa.gf | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/examples/foods/FoodsSpa.gf b/examples/foods/FoodsSpa.gf new file mode 100644 index 000000000..972282ae5 --- /dev/null +++ b/examples/foods/FoodsSpa.gf @@ -0,0 +1,31 @@ +--# -path=.:present
+
+concrete FoodsSpa of Foods = open SyntaxSpa, StructuralSpa, ParadigmsSpa in {
+
+ lincat
+ Comment = Utt ;
+ Item = NP ;
+ Kind = CN ;
+ Quality = AP ;
+
+ lin
+ Pred item quality = mkUtt (mkCl item quality) ;
+ This kind = mkNP this_QuantSg kind ;
+ That kind = mkNP that_QuantSg kind ;
+ These kind = mkNP these_QuantPl kind ;
+ Those kind = mkNP those_QuantPl kind ;
+ Mod quality kind = mkCN quality kind ;
+ Very quality = mkAP very_AdA quality ;
+ Wine = mkCN (mkN "vino") ;
+ Pizza = mkCN (mkN "pizza") ;
+ Cheese = mkCN (mkN "queso") ;
+ Fish = mkCN (mkN "pescado") ;
+ Fresh = mkAP (mkA "fresco") ;
+ Warm = mkAP (mkA "caliente") ;
+ Italian = mkAP (mkA "italiano") ;
+ Expensive = mkAP (mkA "caro") ;
+ Delicious = mkAP (mkA "delicioso") ;
+ Boring = mkAP (mkA "aburrido") ;
+
+}
+
|
