mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
missing constructions in Attempto grammars added
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user