diff options
| author | aarne <aarne@cs.chalmers.se> | 2008-11-03 16:51:43 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2008-11-03 16:51:43 +0000 |
| commit | 44ad7596b6e151000ef6155bbdc697c1896c5de8 (patch) | |
| tree | 29521e5ac0d62219f17e9b8e888b43723f08b209 /examples/attempto/Attempto.gf | |
| parent | bf50b5d70d94e03e17ff18efc473ce5171a58586 (diff) | |
missing constructions in Attempto grammars added
Diffstat (limited to 'examples/attempto/Attempto.gf')
| -rw-r--r-- | examples/attempto/Attempto.gf | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/examples/attempto/Attempto.gf b/examples/attempto/Attempto.gf index 64fd60944..bdc8ba1c5 100644 --- a/examples/attempto/Attempto.gf +++ b/examples/attempto/Attempto.gf @@ -1,10 +1,11 @@ -abstract Attempto = { +abstract Attempto = Symbols ** { flags startcat = ACEText ; cat CN ; cat NP ; cat Card ; +cat Numeral ; cat PN ; cat A ; cat A2 ; @@ -51,6 +52,11 @@ fun noMassNP : MCN -> NP ; fun allMassNP : MCN -> NP ; fun notAllMassNP : MCN -> NP ; +fun one_Card : Card ; +fun two_Card : Card ; +fun five_Card : Card ; +fun ten_Card : Card ; + fun pnNP : PN -> NP ; fun intNP : Int -> NP ; @@ -97,7 +103,6 @@ fun nobody_butNP : PN -> NP ; -- nobody but John fun no_butNP : CN -> PN -> NP ; -- no man but John cat Unit ; -- SI measurement units -cat Var ; fun unitNP : Card -> Unit -> NP ; fun unit_ofNP : Card -> Unit -> CN -> NP ; -- 3 kg of apples @@ -124,6 +129,8 @@ fun andRS : RS -> RS -> RS ; fun orRS : RS -> RS -> RS ; fun eachRS : RS -> RS ; -- each of who +fun suchCN : CN -> S -> CN ; + -- 2.2.4 fun genNP : NP -> CN -> NP ; -- everybody's customer |
