diff options
| author | bringert <unknown> | 2005-03-09 20:13:24 +0000 |
|---|---|---|
| committer | bringert <unknown> | 2005-03-09 20:13:24 +0000 |
| commit | 2bbc7418eb18f1cde6ad43142e64ef35dc8c05c5 (patch) | |
| tree | 1e14b1a66638902dac37e1b06c29996c21f3dd4c /examples/stoneage/StoneageEng.gf | |
| parent | e037fe087f5ebb90deab1624843d6d645749d5ac (diff) | |
Added this, that, conjunctions and giving to stoneage grammars.
Diffstat (limited to 'examples/stoneage/StoneageEng.gf')
| -rw-r--r-- | examples/stoneage/StoneageEng.gf | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/examples/stoneage/StoneageEng.gf b/examples/stoneage/StoneageEng.gf index 2db6ac8c2..18d28dce3 100644 --- a/examples/stoneage/StoneageEng.gf +++ b/examples/stoneage/StoneageEng.gf @@ -13,6 +13,16 @@ 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 = PresV2 (dirV2 drink_V) ; Eat = PresV2 (dirV2 eat_V) ; Bite = PresV2 (dirV2 bite_V) ; @@ -69,15 +79,15 @@ lin Swell = PresV swell_V ; Burn = PresV burn_V ; + Give = PresV3 (dirV3 give_V "to") ; + -- 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 ; |
