summaryrefslogtreecommitdiff
path: root/book/examples/chapter5
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-11-22 15:48:52 +0000
committeraarne <aarne@chalmers.se>2010-11-22 15:48:52 +0000
commit67176f1520d8ac68a00b5266092fcd31a82f4bd8 (patch)
tree6309b8ccfedb458fec7f9772e01b496975e0389f /book/examples/chapter5
parent76ba03b545600054176612201de78dca16eb65e1 (diff)
completed book examples
Diffstat (limited to 'book/examples/chapter5')
-rw-r--r--book/examples/chapter5/FoodsEng.gf11
1 files changed, 6 insertions, 5 deletions
diff --git a/book/examples/chapter5/FoodsEng.gf b/book/examples/chapter5/FoodsEng.gf
index 5c2158ce2..e1bc40c7a 100644
--- a/book/examples/chapter5/FoodsEng.gf
+++ b/book/examples/chapter5/FoodsEng.gf
@@ -1,18 +1,19 @@
---# -path=.:../foods:minimal:present
+--# -path=.:present
-concrete FoodsEng of Foods = open SyntaxEng,ParadigmsEng in {
+concrete FoodsEng of Foods =
+ open SyntaxEng,ParadigmsEng in {
lincat
- Phrase = Cl ;
+ Comment = Utt ;
Item = NP ;
Kind = CN ;
Quality = AP ;
lin
- Is item quality = mkCl item quality ;
+ Pred item quality = mkUtt (mkCl item quality) ;
This kind = mkNP this_Quant kind ;
That kind = mkNP that_Quant kind ;
These kind = mkNP this_Quant plNum kind ;
Those kind = mkNP that_Quant plNum kind ;
- QKind quality kind = mkCN quality kind ;
+ Mod quality kind = mkCN quality kind ;
Wine = mkCN (mkN "wine") ;
Pizza = mkCN (mkN "pizza") ;
Cheese = mkCN (mkN "cheese") ;