summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorbringert <unknown>2005-02-25 14:18:46 +0000
committerbringert <unknown>2005-02-25 14:18:46 +0000
commit224244c82577247ec687b09957d7b12efafe3c75 (patch)
treeb1edd87a7918976d5522050ba733045585550943 /examples
parent370125adc9de3379a3d1f08026ca87dcaf086e16 (diff)
Added numeral determiners to stoneage grammar
Diffstat (limited to 'examples')
-rw-r--r--examples/stoneage/Stoneage.gf13
-rw-r--r--examples/stoneage/StoneageEng.gf6
2 files changed, 19 insertions, 0 deletions
diff --git a/examples/stoneage/Stoneage.gf b/examples/stoneage/Stoneage.gf
index 9b1358852..69687ca09 100644
--- a/examples/stoneage/Stoneage.gf
+++ b/examples/stoneage/Stoneage.gf
@@ -6,6 +6,9 @@ cat
CN ;
fun
+
+ -- Actions with an object
+
Drink : NP -> NP -> S ;
Eat : NP -> NP -> S ;
Bite : NP -> NP -> S ;
@@ -35,6 +38,8 @@ fun
Tie : NP -> NP -> S ;
Count : NP -> NP -> S ;
+ -- Actions without an object
+
Spit : NP -> S ;
Vomit : NP -> S ;
Blow : NP -> S ;
@@ -67,6 +72,8 @@ fun
-- Give : NP -> NP -> NP -> S ;
+ -- Determiners
+
The : CN -> NP ;
A : CN -> NP ;
-- This : CN -> NP ;
@@ -78,6 +85,12 @@ fun
Few : CN -> NP ;
Other : CN -> NP ;
+ One : CN -> NP ;
+ Two : CN -> NP ;
+ Three : CN -> NP ;
+ Four : CN -> NP ;
+ Five : CN -> NP ;
+
-- Pronouns
I : NP ;
diff --git a/examples/stoneage/StoneageEng.gf b/examples/stoneage/StoneageEng.gf
index d9a95fa22..8b8d6b0b2 100644
--- a/examples/stoneage/StoneageEng.gf
+++ b/examples/stoneage/StoneageEng.gf
@@ -80,6 +80,12 @@ lin
Few = DetNP few_Det ;
Other = DetNP other_Det ;
+ One = IndefNumNP one_Num ;
+ Two = IndefNumNP two_Num ;
+ Three = IndefNumNP three_Num ;
+ Four = IndefNumNP four_Num ;
+ Five = IndefNumNP five_Num ;
+
-- Pronouns
I = i_NP ;