missing constructions in Attempto grammars added

This commit is contained in:
aarne
2008-11-03 16:51:43 +00:00
parent df5e7b3363
commit 7f0b861ca9
15 changed files with 112 additions and 59 deletions

View File

@@ -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