From 44ad7596b6e151000ef6155bbdc697c1896c5de8 Mon Sep 17 00:00:00 2001 From: aarne Date: Mon, 3 Nov 2008 16:51:43 +0000 Subject: missing constructions in Attempto grammars added --- examples/attempto/Attempto.gf | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'examples/attempto/Attempto.gf') 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 -- cgit v1.2.3