mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-06 17:52:51 -06:00
Working on with new resource API.
This commit is contained in:
@@ -1,26 +1,42 @@
|
||||
-- added 19/11/2003
|
||||
-- added 19/11/2003 -- 21/11
|
||||
|
||||
-- Combinations.gf
|
||||
cat
|
||||
Prep ; -- pre/postposition and/or case e.g.
|
||||
Num ; -- numeral, e.g. "three", "879"
|
||||
--- VV ; -- verb-compl. verb, e.g. "can", "want"
|
||||
VV ; -- verb-compl. verb, e.g. "can", "want"
|
||||
VG ; -- verbal group
|
||||
|
||||
fun
|
||||
ThereIsCN : CN -> S ; -- "there is a bar", "there are bars"
|
||||
ThereAreCN : Num -> CN -> S ; -- "there are 86 bars"
|
||||
PrepNP : Prep -> NP -> AdV ; -- "in London", "after the war" (replace LocNP)
|
||||
MassNP : CN -> NP ; -- "wine"
|
||||
--- PosVV, NegVV : VV -> VP -> VP ; -- "can run", "can't run", "tries to run"
|
||||
PosAdV, NegAdV : AdV -> VP ; -- "is everywhere", "is not in France"
|
||||
PredAdV : AdV -> VP ; -- "is everywhere", "is not in France"
|
||||
AdjAdv : AP -> AdV ; -- "freely", "more consciously than you"
|
||||
IsThereCN, AreThereCN : CN -> Qu ;-- "is there a bar", "are there bars"
|
||||
IsThereCN,AreThereCN : CN -> Qu ; -- "is there a bar", "are there bars"
|
||||
PosVG,NegVG : VG -> VP ; --
|
||||
|
||||
|
||||
-- merged PosX and NegX to PredX, for the following
|
||||
PredV : V -> VG ; -- "walk", "doesn't walk"
|
||||
PredPassV : V -> VG ; -- "is seen", "is not seen"
|
||||
PredTV : TV -> NP -> VG ; -- "sees John", "doesn't see John"
|
||||
PredVS : VS -> S -> VG ; -- "says that I run", "doesn't say..."
|
||||
PredVV : VV -> VG -> VG ; -- "can run", "can't run", "tries to run"
|
||||
PredV3 : V3 -> NP -> NP -> VG ; -- "prefers wine to beer"
|
||||
|
||||
PredNP : NP -> VG ; -- "is John", "is not John"
|
||||
PredAdV : AdV -> VG ; -- "is everywhere", "is not in France"
|
||||
PredAP : AP -> VG ; -- "is old", "isn't old"
|
||||
PredCN : CN -> VG ; -- "is a man", "isn't a man"
|
||||
VTrans : TV -> V ; -- "loves"
|
||||
|
||||
|
||||
-- changed type signatures: added Num
|
||||
IndefManyNP : Num -> CN -> NP ; -- "houses", "86 houses"
|
||||
DefManyNP : Num -> CN -> NP ; -- "the cars", "the 86 cars"
|
||||
ModGenMany : Num -> NP -> CN -> NP ; -- "John's cars", "John's 86 cars"
|
||||
DefManyNP : Num -> CN -> NP ; -- "the cars", "the 86 cars"
|
||||
ModGenMany : Num -> NP -> CN -> NP ; -- "John's cars", "John's 86 cars"
|
||||
|
||||
UseInt : Int -> Num ; -- "32" --- assumes i > 1
|
||||
NoNum : Num ; -- no numeral modifier
|
||||
|
||||
Reference in New Issue
Block a user