summaryrefslogtreecommitdiff
path: root/examples/stoneage/StoneageSwe.gf
diff options
context:
space:
mode:
authorbringert <unknown>2005-03-09 20:13:24 +0000
committerbringert <unknown>2005-03-09 20:13:24 +0000
commit2bbc7418eb18f1cde6ad43142e64ef35dc8c05c5 (patch)
tree1e14b1a66638902dac37e1b06c29996c21f3dd4c /examples/stoneage/StoneageSwe.gf
parente037fe087f5ebb90deab1624843d6d645749d5ac (diff)
Added this, that, conjunctions and giving to stoneage grammars.
Diffstat (limited to 'examples/stoneage/StoneageSwe.gf')
-rw-r--r--examples/stoneage/StoneageSwe.gf17
1 files changed, 13 insertions, 4 deletions
diff --git a/examples/stoneage/StoneageSwe.gf b/examples/stoneage/StoneageSwe.gf
index 4e90376bb..8fa50cf6b 100644
--- a/examples/stoneage/StoneageSwe.gf
+++ b/examples/stoneage/StoneageSwe.gf
@@ -12,6 +12,15 @@ lincat
CN = CN ;
lin
+
+ -- Sentence conjunction
+
+ AndS s1 s2 = { s = s1.s ++ and_Conj.s ++ s2.s } ** { lock_Phr = <> } ;
+
+ -- NP conjunction
+
+ AndNP n1 n2 = ConjNP and_Conj (TwoNP n1 n2);
+
Drink = PresVasV2 drink_V ;
Eat = PresVasV2 eat_V ;
Bite = PresVasV2 bite_V ;
@@ -70,15 +79,15 @@ lin
Swell = PresV swell_V ;
Burn = PresV burn_V ;
+ Give = PresV3 (dirV3 give_V "till") ;
+
-- Say = ;
--- Give = giveV3 ;
The_One = DefOneNP;
The_Many = DefNumNP NoNum ;
A = IndefOneNP ;
-
--- This : CN -> NP ;
--- That : CN -> NP ;
+ This = DetNP this_Det ;
+ That = DetNP that_Det ;
All = NDetNP all_NDet NoNum ;
Many = DetNP many_Det ;
Some_One = DetNP some_Det ;