summaryrefslogtreecommitdiff
path: root/book/examples/chapter5
diff options
context:
space:
mode:
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") ;